結果

問題 No.547 未知の言語
ユーザー RisenRisen
提出日時 2017-07-28 22:22:33
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 58 ms / 2,000 ms
コード長 511 bytes
コンパイル時間 2,048 ms
コンパイル使用メモリ 103,684 KB
実行使用メモリ 22,560 KB
最終ジャッジ日時 2023-09-08 09:01:16
合計ジャッジ時間 5,313 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 54 ms
20,380 KB
testcase_01 AC 52 ms
18,432 KB
testcase_02 AC 52 ms
20,520 KB
testcase_03 AC 52 ms
18,476 KB
testcase_04 AC 53 ms
18,336 KB
testcase_05 AC 55 ms
20,472 KB
testcase_06 AC 54 ms
20,540 KB
testcase_07 AC 54 ms
20,512 KB
testcase_08 AC 53 ms
18,372 KB
testcase_09 AC 54 ms
20,456 KB
testcase_10 AC 54 ms
22,448 KB
testcase_11 AC 54 ms
18,420 KB
testcase_12 AC 55 ms
22,348 KB
testcase_13 AC 54 ms
22,476 KB
testcase_14 AC 53 ms
22,416 KB
testcase_15 AC 54 ms
20,408 KB
testcase_16 AC 55 ms
22,484 KB
testcase_17 AC 53 ms
20,544 KB
testcase_18 AC 54 ms
22,408 KB
testcase_19 AC 53 ms
20,544 KB
testcase_20 AC 52 ms
18,512 KB
testcase_21 AC 52 ms
20,540 KB
testcase_22 AC 55 ms
22,496 KB
testcase_23 AC 53 ms
22,460 KB
testcase_24 AC 54 ms
20,484 KB
testcase_25 AC 53 ms
20,444 KB
testcase_26 AC 53 ms
20,500 KB
testcase_27 AC 54 ms
20,384 KB
testcase_28 AC 55 ms
20,504 KB
testcase_29 AC 53 ms
22,560 KB
testcase_30 AC 54 ms
22,428 KB
testcase_31 AC 54 ms
20,384 KB
testcase_32 AC 58 ms
20,380 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Collections.Generic;
using System.Linq;

class Solution
{
    static void Main()
    {
        Console.ReadLine();
        var s = Console.ReadLine().Split(' ');
        var t = Console.ReadLine().Split(' ');
        for (int i = 0; i < s.Length; i++)
        {
            if (s[i] != t[i])
            {
                Console.WriteLine(i + 1);
                Console.WriteLine(s[i]);
                Console.WriteLine(t[i]);
                break;
            }
        }
    }
}
0