結果
| 問題 |
No.2050 Speed
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-11-17 11:41:25 |
| 言語 | C# (.NET 8.0.404) |
| 結果 |
AC
|
| 実行時間 | 53 ms / 2,000 ms |
| コード長 | 455 bytes |
| コンパイル時間 | 8,683 ms |
| コンパイル使用メモリ | 169,720 KB |
| 実行使用メモリ | 185,848 KB |
| 最終ジャッジ日時 | 2024-09-19 00:41:11 |
| 合計ジャッジ時間 | 10,415 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 15 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (104 ms)。 MSBuild のバージョン 17.9.6+a4ecab324 (.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/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
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);
}
}
}