結果
| 問題 |
No.1799 Summer Day
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-01-07 22:20:53 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 306 bytes |
| コンパイル時間 | 2,679 ms |
| コンパイル使用メモリ | 243,152 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-11-14 08:52:56 |
| 合計ジャッジ時間 | 3,467 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 14 WA * 7 |
ソースコード
#include <bits/stdc++.h>
using std::cin;
using std::cout;
int main() {
int n, s;
cin >> n >> s;
if (n == 1) {
if (25 <= s and s < 30) puts("Yes");
else puts("No");
return 0;
}
puts(s/29 <= n or s/28 <= n or s/27 <= n or s/26 <= n or s/26 <= n and s/30 == 0 ? "Yes" : "No");
return 0;
}