結果
問題 |
No.333 門松列を数え上げ
|
ユーザー |
|
提出日時 | 2018-03-14 15:51:53 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 217 bytes |
コンパイル時間 | 1,326 ms |
コンパイル使用メモリ | 164,740 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-27 19:11:24 |
合計ジャッジ時間 | 1,832 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 2 WA * 5 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { int A; int B; const int iLim = 2000000000; cin >> A; cin >> B; if( A > B ) cout << iLim - A << endl; else cout << A - 1 << endl; return 0; }