結果
問題 | No.1799 Summer Day |
ユーザー |
👑 ![]() |
提出日時 | 2022-01-07 21:48:17 |
言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 17 ms / 2,000 ms |
コード長 | 559 bytes |
コンパイル時間 | 1,955 ms |
コンパイル使用メモリ | 99,276 KB |
最終ジャッジ日時 | 2025-01-27 09:21:11 |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
ソースコード
#include <iostream> #include <vector> #include <algorithm> using namespace std; using i32 = int32_t; using u32 = uint32_t; using i64 = int64_t; using u64 = uint64_t; #define rep(i,n) for(int i=0; i<(n); i++) int main(){ i64 N; cin >> N; i64 S; cin >> S; bool ans = true; if(S < 25) ans = false; if(N*29 < S) ans = false; cout << (ans ? "Yes" : "No") << "\n"; return 0; } struct ios_do_not_sync{ ios_do_not_sync(){ std::ios::sync_with_stdio(false); std::cin.tie(nullptr); } } ios_do_not_sync_instance;