結果

問題 No.2599 Summer Project
ユーザー bluemeganebluemegane
提出日時 2024-01-17 18:44:17
言語 C#
(.NET 8.0.203)
結果
AC  
実行時間 71 ms / 2,000 ms
コード長 381 bytes
コンパイル時間 13,953 ms
コンパイル使用メモリ 158,820 KB
実行使用メモリ 177,576 KB
最終ジャッジ日時 2024-01-17 18:44:34
合計ジャッジ時間 16,498 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
30,372 KB
testcase_01 AC 70 ms
30,372 KB
testcase_02 AC 69 ms
30,372 KB
testcase_03 AC 69 ms
30,372 KB
testcase_04 AC 69 ms
30,372 KB
testcase_05 AC 69 ms
177,576 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.csproj を復元しました (107 ms)。
MSBuild のバージョン 17.7.3+8ec440e68 (.NET)
  main -> /home/judge/data/code/bin/Release/net7.0/main.dll
  main -> /home/judge/data/code/bin/Release/net7.0/publish/

ソースコード

diff #

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

public class Hello
{
    static void Main()
    {
        var hs = new HashSet<string> { "watermelon", "beachball", "shrinebell" };
        for (int i = 0; i < 2; i++)
        {
            var s = Console.ReadLine().Trim();
            hs.Remove(s);
        }
        Console.WriteLine(hs.ToArray()[0]);
    }
}
0