結果

問題 No.2050 Speed
ユーザー 青紫青紫
提出日時 2022-11-17 11:23:38
言語 C#
(.NET 8.0.203)
結果
WA  
実行時間 -
コード長 437 bytes
コンパイル時間 9,874 ms
コンパイル使用メモリ 157,464 KB
実行使用メモリ 175,696 KB
最終ジャッジ日時 2023-10-19 04:12:54
合計ジャッジ時間 12,193 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 59 ms
30,620 KB
testcase_01 AC 60 ms
30,616 KB
testcase_02 AC 59 ms
30,616 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 58 ms
30,616 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 59 ms
30,616 KB
testcase_10 AC 59 ms
30,616 KB
testcase_11 WA -
testcase_12 AC 58 ms
30,608 KB
testcase_13 AC 58 ms
30,608 KB
testcase_14 AC 60 ms
30,608 KB
testcase_15 AC 60 ms
30,608 KB
testcase_16 AC 59 ms
175,696 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.csproj を復元しました (108 ms)。
MSBuild のバージョン 17.7.3+8ec440e68 (.NET)
/home/judge/data/code/Main.cs(7,8): warning CS8981: 型名 'a' には、小文字の ASCII 文字のみが含まれています。このような名前は、プログラミング言語用に予約されている可能性があります。 [/home/judge/data/code/main.csproj]
  main -> /home/judge/data/code/bin/Release/net7.0/main.dll
  main -> /home/judge/data/code/bin/Release/net7.0/publish/

ソースコード

diff #

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

namespace y
{
	class a
	{
		static void Main(string[] args)
		{
			string[] s = Console.ReadLine().Split();
			int a = (int.Parse(s[0])) * 1000 ;
			int b = (int.Parse(s[1])) * 3600;
			string ans = "";

			if (a > b)
			{
				ans = "KoD";
			}
			else if (a < b)
			{
				ans = "blackyuki";
			}
			else
			{
				ans = "same";
			}

			Console.WriteLine(ans);
		}
	}
}
0