結果
問題 |
No.2050 Speed
|
ユーザー |
|
提出日時 | 2022-11-17 11:23:38 |
言語 | C# (.NET 8.0.404) |
結果 |
WA
|
実行時間 | - |
コード長 | 437 bytes |
コンパイル時間 | 8,240 ms |
コンパイル使用メモリ | 168,872 KB |
実行使用メモリ | 185,120 KB |
最終ジャッジ日時 | 2024-09-19 00:28:34 |
合計ジャッジ時間 | 9,875 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 WA * 6 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (98 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(); 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); } } }