結果

問題 No.547 未知の言語
ユーザー keymoonkeymoon
提出日時 2019-02-23 18:02:26
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 70 ms / 2,000 ms
コード長 748 bytes
コンパイル時間 2,613 ms
コンパイル使用メモリ 102,172 KB
実行使用メモリ 23,752 KB
最終ジャッジ日時 2023-08-20 11:55:11
合計ジャッジ時間 6,492 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
21,600 KB
testcase_01 AC 67 ms
21,584 KB
testcase_02 AC 67 ms
23,592 KB
testcase_03 AC 67 ms
21,660 KB
testcase_04 AC 67 ms
23,636 KB
testcase_05 AC 68 ms
23,684 KB
testcase_06 AC 67 ms
21,740 KB
testcase_07 AC 67 ms
21,588 KB
testcase_08 AC 67 ms
21,756 KB
testcase_09 AC 69 ms
21,840 KB
testcase_10 AC 68 ms
21,796 KB
testcase_11 AC 67 ms
21,800 KB
testcase_12 AC 68 ms
21,576 KB
testcase_13 AC 68 ms
21,736 KB
testcase_14 AC 67 ms
21,604 KB
testcase_15 AC 69 ms
21,772 KB
testcase_16 AC 68 ms
23,696 KB
testcase_17 AC 68 ms
23,652 KB
testcase_18 AC 68 ms
21,760 KB
testcase_19 AC 68 ms
19,560 KB
testcase_20 AC 67 ms
21,652 KB
testcase_21 AC 67 ms
21,760 KB
testcase_22 AC 66 ms
21,604 KB
testcase_23 AC 68 ms
21,768 KB
testcase_24 AC 70 ms
21,716 KB
testcase_25 AC 68 ms
21,600 KB
testcase_26 AC 70 ms
23,576 KB
testcase_27 AC 66 ms
19,688 KB
testcase_28 AC 69 ms
23,752 KB
testcase_29 AC 68 ms
21,624 KB
testcase_30 AC 68 ms
21,836 KB
testcase_31 AC 68 ms
23,656 KB
testcase_32 AC 67 ms
21,628 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.IO;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using System.Numerics;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using static System.Math;
using Int = System.Int64;
using Debug = System.Diagnostics.Debug;

class P
{
    static void Main()
    {
        int.Parse(Console.ReadLine());

        var v = Console.ReadLine().Split().Zip(Console.ReadLine().Split(), (x, y) => new Tuple<string, string>(x, y)).Select((x, y) => new Tuple<int, Tuple<string, string>>(y, x)).First(x => x.Item2.Item1 != x.Item2.Item2);
        Console.WriteLine(v.Item1 + 1);
        Console.WriteLine(v.Item2.Item1);
        Console.WriteLine(v.Item2.Item2);
    }
}
0