結果

問題 No.3124 Twin
ユーザー HikaruKonno
提出日時 2025-05-20 20:46:11
言語 C#
(.NET 8.0.404)
結果
WA  
実行時間 -
コード長 523 bytes
コンパイル時間 7,295 ms
コンパイル使用メモリ 168,520 KB
実行使用メモリ 184,420 KB
最終ジャッジ日時 2025-05-20 20:46:21
合計ジャッジ時間 8,973 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 17
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.csproj を復元しました (110 ミリ秒)。
  main -> /home/judge/data/code/bin/Release/net8.0/main.dll
  main -> /home/judge/data/code/bin/Release/net8.0/publish/

ソースコード

diff #

using System;

class Program
{
	static void Main()
	{
            long x;
            long y;

            string s = Console.ReadLine();
            string s2 = Console.ReadLine();

            if (s == null) { return; }
            if (s2 == null) { return; }

            long.TryParse(s, out x);
            long.TryParse(s2, out y);

            if (x == y)
            {
                Console.WriteLine("Yes");
            }
            else
            {
                Console.WriteLine("No");
            }
	}
}
0