結果
| 問題 |
No.481 1から10
|
| コンテスト | |
| ユーザー |
Yut176
|
| 提出日時 | 2017-02-10 22:23:26 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 409 bytes |
| コンパイル時間 | 780 ms |
| コンパイル使用メモリ | 73,884 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-12-28 05:12:37 |
| 合計ジャッジ時間 | 1,344 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 8 |
ソースコード
#include<iostream>
#include<algorithm>
#include<cstdio>
#include<cstdlib>
#include<vector>
#include<map>
#include<queue>
#include<string>
#include<sstream>
#include<cmath>
#include<numeric>
using namespace std;
int main(){
vector<int> n(10);
for(int i=0; i<9; i++){
int tmp;
cin >> tmp;
n[tmp-1]++;
}
for(int i=0; i<10; i++){
if( n[i] == 0 ) cout << i+1 << endl;
}
return 0;
}
Yut176