結果

問題 No.481 1から10
ユーザー shiroha_F14
提出日時 2021-03-03 14:07:14
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 289 bytes
コンパイル時間 750 ms
コンパイル使用メモリ 69,488 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-03 04:08:11
合計ジャッジ時間 1,161 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

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

int main(){
    vector<bool> point(10, true);
    for(int i = 0; i < 9; i++){
        int d; cin >> d; point[d - 1] = false;
    }
    for(int i = 0; i < 10; i++){
        if(point[i]) cout << i + 1 << endl;
    }
    return 0;
}
0