結果
| 問題 |
No.481 1から10
|
| コンテスト | |
| ユーザー |
cb_4150
|
| 提出日時 | 2017-08-16 19:53:35 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 252 bytes |
| コンパイル時間 | 436 ms |
| コンパイル使用メモリ | 54,016 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-13 13:00:24 |
| 合計ジャッジ時間 | 951 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 8 |
ソースコード
#include <iostream>
int main() {
int a[9];
for (int i = 0; i < 9; i++) {
std::cin >> a[i];
}
for (int i = 1; i <= 9; i++) {
if (a[i - 1] != i) {
std::cout << i << std::endl;
return 0;
}
}
std::cout << 10 << std::endl;
return 0;
}
cb_4150