結果

問題 No.481 1から10
ユーザー zmirezzmirez
提出日時 2018-05-14 02:39:18
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 359 bytes
コンパイル時間 3,131 ms
コンパイル使用メモリ 104,056 KB
実行使用メモリ 22,852 KB
最終ジャッジ日時 2023-09-10 19:43:17
合計ジャッジ時間 4,438 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 56 ms
20,640 KB
testcase_01 AC 55 ms
20,624 KB
testcase_02 AC 55 ms
20,680 KB
testcase_03 AC 56 ms
20,776 KB
testcase_04 AC 56 ms
22,852 KB
testcase_05 AC 56 ms
20,780 KB
testcase_06 AC 56 ms
20,680 KB
testcase_07 AC 56 ms
20,904 KB
testcase_08 AC 56 ms
20,728 KB
testcase_09 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
class Program{
    static void Main(string [] args){
        string []B=Console.ReadLine().Split(' ');
        int[]b=new int[B.Length];
        for(int i=1;i<=b.Length;i++){
            b[i-1]=int.Parse(B[i-1]);
            if(b[i-1]!=i){
                Console.WriteLine(i);
                break;
            }
        }
    }
}
0