結果
問題 |
No.481 1から10
|
ユーザー |
![]() |
提出日時 | 2017-11-13 20:54:31 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 389 bytes |
コンパイル時間 | 834 ms |
コンパイル使用メモリ | 73,920 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-25 00:30:11 |
合計ジャッジ時間 | 1,125 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 8 |
ソースコード
#include <iostream> #include <iomanip> #include <string> #include <limits.h> #include <math.h> #include <vector> #include <algorithm> #include <map> #include <numeric> #include <cmath> using namespace std; int main(){ int tmp; for(int i=0; i<9; i++){ cin >> tmp; if (tmp != i+1){ cout << i+1 << endl; break; }else if(tmp == 9){ cout << 10 << endl; } } return 0; }