結果

問題 No.182 新規性の虜
ユーザー nakamura0422nakamura0422
提出日時 2023-01-12 11:27:39
言語 C#
(.NET 8.0.203)
結果
WA  
実行時間 -
コード長 361 bytes
コンパイル時間 9,453 ms
コンパイル使用メモリ 143,768 KB
実行使用メモリ 41,428 KB
最終ジャッジ日時 2023-08-24 19:37:19
合計ジャッジ時間 12,663 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 46 ms
27,220 KB
testcase_03 AC 46 ms
27,300 KB
testcase_04 AC 45 ms
27,176 KB
testcase_05 AC 46 ms
27,028 KB
testcase_06 AC 46 ms
26,996 KB
testcase_07 AC 46 ms
28,872 KB
testcase_08 AC 56 ms
33,244 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 45 ms
29,100 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 AC 46 ms
29,068 KB
testcase_24 AC 68 ms
39,124 KB
testcase_25 WA -
testcase_26 AC 49 ms
30,472 KB
testcase_27 AC 46 ms
29,016 KB
evil01.txt AC 72 ms
41,040 KB
evil02.txt AC 72 ms
176,448 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  Determining projects to restore...
  Restored /home/judge/data/code/main.csproj (in 161 ms).
.NET 向け Microsoft (R) Build Engine バージョン 17.0.0-preview-21470-01+cb055d28f
Copyright (C) Microsoft Corporation.All rights reserved.

  プレビュー版の .NET を使用しています。https://aka.ms/dotnet-core-preview をご覧ください
  main -> /home/judge/data/code/bin/Release/net6.0/main.dll
  main -> /home/judge/data/code/bin/Release/net6.0/publish/

ソースコード

diff #

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

static class CaptiveOfNovelty
{
    static void Main()
    {
        var N = Console.ReadLine();
        var ans =  Console.ReadLine()
                            .Split(' ')
                            .Distinct()
                            .Count();

        Console.WriteLine(ans);
    }
}
0