結果
問題 |
No.773 コンテスト
|
ユーザー |
![]() |
提出日時 | 2022-08-06 02:49:35 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 502 bytes |
コンパイル時間 | 782 ms |
コンパイル使用メモリ | 72,788 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-16 00:23:56 |
合計ジャッジ時間 | 1,850 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 5 WA * 16 |
ソースコード
#include<iostream> #include<string> #include<vector> #include<algorithm> #include<map> #define all(x) x.begin(),x.end() #define pb push_back #define ll long long #define P pair<int,int> #define LP pair<ll,ll> using namespace std; int main() { int a, b; cin >> a>>b; if (b < 23) cout << 3 << endl; else if (b < 26) { if (a < 23) cout << 25 - b; else if (a < 26)b - a + 1; else cout << 0; } else { if (a < 23) cout << 3; else if (a < 26)25 - a + 1; else cout << 0; } return 0; }