結果

問題 No.2050 Speed
ユーザー 青紫青紫
提出日時 2022-11-17 11:41:25
言語 C#
(.NET 8.0.203)
結果
AC  
実行時間 58 ms / 2,000 ms
コード長 455 bytes
コンパイル時間 9,720 ms
コンパイル使用メモリ 158,144 KB
実行使用メモリ 175,920 KB
最終ジャッジ日時 2023-10-19 04:25:09
合計ジャッジ時間 11,886 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
30,672 KB
testcase_01 AC 58 ms
30,672 KB
testcase_02 AC 57 ms
30,676 KB
testcase_03 AC 57 ms
30,672 KB
testcase_04 AC 56 ms
30,672 KB
testcase_05 AC 57 ms
30,672 KB
testcase_06 AC 58 ms
30,672 KB
testcase_07 AC 58 ms
30,672 KB
testcase_08 AC 58 ms
30,680 KB
testcase_09 AC 58 ms
30,680 KB
testcase_10 AC 58 ms
30,680 KB
testcase_11 AC 58 ms
30,680 KB
testcase_12 AC 58 ms
30,680 KB
testcase_13 AC 58 ms
30,680 KB
testcase_14 AC 58 ms
30,680 KB
testcase_15 AC 57 ms
30,680 KB
testcase_16 AC 57 ms
175,920 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.csproj を復元しました (101 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();
			long a = int.Parse(s[0]);
			long b = int.Parse(s[1]);
			a = a * 1000;
			b = b * 3600;

			string ans = "";

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

			Console.WriteLine(ans);
		}
	}
}
0