結果

問題 No.481 1から10
ユーザー iodo_shiba
提出日時 2018-08-30 21:04:55
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
TLE  
実行時間 -
コード長 197 bytes
コンパイル時間 486 ms
コンパイル使用メモリ 54,132 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-09-13 20:35:15
合計ジャッジ時間 4,040 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 7 TLE * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>

int main(){
    int p,s;
    p=0;
    for(;;){
        std::cin >> s;
        if(s-p>1){
            std::cout<<p+1<<std::endl;
            break;
        }
        p=s;
    }
}
0