結果

問題 No.2599 Summer Project
コンテスト
ユーザー bluemegane
提出日時 2024-01-17 18:44:17
言語 C#
(.NET 10.0.400 + ACL)
コンパイル:
dotnet_c
実行:
/usr/bin/dotnet_wrap
結果
AC  
実行時間 68 ms / 2,000 ms
+ 322µs
コード長 381 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 8,853 ms
コンパイル使用メモリ 169,944 KB
実行使用メモリ 191,356 KB
最終ジャッジ日時 2026-09-05 11:15:10
合計ジャッジ時間 9,984 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 4
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.csproj を復元しました (80 ミリ秒)。
  main -> /home/judge/data/code/bin/Release/net10.0/main.dll
  main -> /home/judge/data/code/bin/Release/net10.0/publish/

ソースコード

diff #
raw source code

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