結果
問題 |
No.773 コンテスト
|
ユーザー |
|
提出日時 | 2020-03-19 00:01:15 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 403 bytes |
コンパイル時間 | 1,468 ms |
コンパイル使用メモリ | 166,768 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-12-14 02:47:56 |
合計ジャッジ時間 | 2,284 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 8 WA * 13 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ int a, b; cin >> a >> b; if(a > 25 || b < 23){ cout << 3 << endl; return 0; } if(a < 23){ if(b > 26){ cout << 3 << endl; return 0; } cout << b - 23 << endl; return 0; } if(b > 26) cout << 25 - a << endl; else cout << b - a - 1 << endl; }