結果

問題 No.481 1から10
ユーザー suibaka_ku
提出日時 2017-02-27 03:54:06
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 277 bytes
コンパイル時間 603 ms
コンパイル使用メモリ 67,320 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-11 17:29:05
合計ジャッジ時間 1,225 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 7 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <cmath>
using namespace std;

int main() {
    int B[10] = {};
    for(int i=0; i<9; ++i) {
        cin >> B[i];
    }
    B[9] = 11;
    for(int i=0; i<9; ++i) {
        if(B[i]+1 != B[i+1]) {
            cout << B[i]+1 << endl;
        }
    }
}
0