結果
| 問題 | 
                            No.481 1から10
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2020-04-24 17:08:36 | 
| 言語 | C++14  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 402 bytes | 
| コンパイル時間 | 1,410 ms | 
| コンパイル使用メモリ | 166,272 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-10-15 02:03:41 | 
| 合計ジャッジ時間 | 2,196 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 7 WA * 1 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
typedef long long ll;
const int INF = 1000000000; // 10^9
int main() {
    const int N = 9;
    vector<int> v(N);
    rep(i, N) cin >> v[i];
    for (int i = 0; i < N; i++){
        int x = v[i];
        x--;
        if(x != i) {
            cout << x << endl;
            return 0;
        }
    }
}