結果

問題 No.481 1から10
ユーザー chankou0920chankou0920
提出日時 2017-10-01 18:21:45
言語 C#(csc)
(csc 3.9.0)
結果
RE  
実行時間 -
コード長 248 bytes
コンパイル時間 850 ms
コンパイル使用メモリ 107,092 KB
実行使用メモリ 25,876 KB
最終ジャッジ日時 2024-04-27 17:30:04
合計ジャッジ時間 1,625 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
23,852 KB
testcase_01 AC 26 ms
21,812 KB
testcase_02 AC 24 ms
21,940 KB
testcase_03 AC 25 ms
24,028 KB
testcase_04 AC 25 ms
25,868 KB
testcase_05 AC 25 ms
24,340 KB
testcase_06 AC 25 ms
25,868 KB
testcase_07 AC 25 ms
25,876 KB
testcase_08 AC 24 ms
24,028 KB
testcase_09 RE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

public class Program {
	public static void Main(string[] args) {
		string[] s = Console.ReadLine().Split(' ');
		for (int i = 0; i < 10; i++) {
			if (int.Parse(s[i]) != i + 1) {
				Console.WriteLine(i + 1);
				break;
			}
		}
	}
}
0