結果

問題 No.182 新規性の虜
ユーザー nakamura0422nakamura0422
提出日時 2023-01-12 11:52:56
言語 C#
(.NET 8.0.203)
結果
AC  
実行時間 104 ms / 5,000 ms
コード長 469 bytes
コンパイル時間 14,891 ms
コンパイル使用メモリ 147,128 KB
実行使用メモリ 47,552 KB
最終ジャッジ日時 2023-08-24 19:58:50
合計ジャッジ時間 14,595 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 47 ms
27,036 KB
testcase_01 AC 46 ms
27,344 KB
testcase_02 AC 46 ms
26,948 KB
testcase_03 AC 46 ms
27,352 KB
testcase_04 AC 47 ms
26,992 KB
testcase_05 AC 47 ms
27,316 KB
testcase_06 AC 47 ms
27,188 KB
testcase_07 AC 48 ms
27,324 KB
testcase_08 AC 76 ms
37,664 KB
testcase_09 AC 99 ms
45,656 KB
testcase_10 AC 92 ms
45,020 KB
testcase_11 AC 80 ms
41,220 KB
testcase_12 AC 62 ms
32,524 KB
testcase_13 AC 47 ms
27,188 KB
testcase_14 AC 47 ms
26,972 KB
testcase_15 AC 48 ms
27,172 KB
testcase_16 AC 48 ms
26,888 KB
testcase_17 AC 47 ms
26,992 KB
testcase_18 AC 72 ms
35,716 KB
testcase_19 AC 66 ms
33,316 KB
testcase_20 AC 59 ms
31,368 KB
testcase_21 AC 74 ms
36,468 KB
testcase_22 AC 63 ms
32,120 KB
testcase_23 AC 47 ms
26,956 KB
testcase_24 AC 104 ms
47,552 KB
testcase_25 AC 62 ms
35,984 KB
testcase_26 AC 53 ms
31,500 KB
testcase_27 AC 47 ms
26,980 KB
evil01.txt AC 107 ms
48,240 KB
evil02.txt AC 107 ms
182,064 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  Determining projects to restore...
  Restored /home/judge/data/code/main.csproj (in 127 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(' ')
                            .GroupBy(x => x)
                            .Where(y => y.Count() == 1)
                            .SelectMany(z => z)
                            .Count();
        Console.WriteLine(ans);
    }
}
0