結果
| 問題 |
No.481 1から10
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-12-07 22:35:31 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 275 bytes |
| コンパイル時間 | 395 ms |
| コンパイル使用メモリ | 53,848 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-29 05:21:28 |
| 合計ジャッジ時間 | 970 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 8 |
ソースコード
#include <iostream>
using namespace std;
int main(){
int nums[11] = {0};
int temp;
for(int i = 1; i < 10; i++){
cin >> temp;
nums[temp] = 1;
}
for(int i = 1; i < 11; i++){
if(nums[i] == 0) cout << i << endl;
}
return 0;
}