結果
問題 | No.481 1から10 |
ユーザー |
![]() |
提出日時 | 2017-02-10 22:28:16 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 240 bytes |
コンパイル時間 | 527 ms |
コンパイル使用メモリ | 58,868 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-28 06:18:11 |
合計ジャッジ時間 | 1,270 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 8 |
ソースコード
#include <iostream>#include <vector>#include <algorithm>#include <string>using namespace std;int main(){for (int i = 0; i < 10; i++) {int x; cin >> x;if (i + 1 != x) {cout<< i + 1<<endl;break;}}return 0;}