結果

問題 No.481 1から10
ユーザー masaktmasakt
提出日時 2017-03-21 01:59:46
言語 C#(csc)
(csc 3.9.0)
結果
RE  
実行時間 -
コード長 304 bytes
コンパイル時間 2,489 ms
コンパイル使用メモリ 100,952 KB
実行使用メモリ 22,784 KB
最終ジャッジ日時 2023-09-18 13:42:51
合計ジャッジ時間 3,283 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 57 ms
20,668 KB
testcase_01 AC 57 ms
20,700 KB
testcase_02 AC 58 ms
20,844 KB
testcase_03 AC 58 ms
20,708 KB
testcase_04 AC 57 ms
20,644 KB
testcase_05 AC 57 ms
20,680 KB
testcase_06 AC 57 ms
20,544 KB
testcase_07 AC 56 ms
20,712 KB
testcase_08 AC 58 ms
22,784 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;
class P
{
    static void Main(string[] _)
    {
        _ = Console.ReadLine().Split(' ');
        int i;
        for (i = 1; i <= 10; i++)
        {
            if (i != int.Parse(_[i-1]))
            {
                break;
            }
        }
        Console.WriteLine(i);
    }
}
0