結果
| 問題 |
No.1799 Summer Day
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-01-07 21:47:30 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 155 bytes |
| コンパイル時間 | 146 ms |
| コンパイル使用メモリ | 27,136 KB |
| 最終ジャッジ日時 | 2025-01-27 09:20:26 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:6:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
6 | scanf("%d %d", &N, &S);
| ~~~~~^~~~~~~~~~~~~~~~~
ソースコード
//Summer Day
#include<cstdio>
int main(){
int N, S;
scanf("%d %d", &N, &S);
printf(S >= 25 && S <= 29LL*N ? "Yes\n" : "No\n");
return 0;
}