結果
| 問題 | No.2050 Speed |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-11-17 11:24:48 |
| 言語 | C# (.NET 8.0.404) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 439 bytes |
| 記録 | |
| コンパイル時間 | 6,590 ms |
| コンパイル使用メモリ | 169,044 KB |
| 実行使用メモリ | 186,068 KB |
| 最終ジャッジ日時 | 2024-09-19 00:29:22 |
| 合計ジャッジ時間 | 7,952 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 9 WA * 6 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (83 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])) * 1000 ;
long 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);
}
}
}