結果

問題 No.481 1から10
ユーザー ふっぴー
提出日時 2017-04-12 13:46:34
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 185 bytes
コンパイル時間 392 ms
コンパイル使用メモリ 56,852 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-18 10:19:27
合計ジャッジ時間 864 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 2
other AC * 1 WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <algorithm>
using namespace std;

int main(void){
	int i,j;
	for(i=1;i<10;i++){
		cin>>j;
		if(i!=j){
			cout<<i<<endl;
		}
		return 0;
	}
	cout<<i<<endl;
}
0