結果

問題 No.481 1から10
ユーザー imGUTS_99
提出日時 2019-06-20 16:00:20
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 277 bytes
コンパイル時間 483 ms
コンパイル使用メモリ 54,648 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-12-17 18:24:47
合計ジャッジ時間 886 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 2
other WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;

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