結果
| 問題 | No.779 Heisei |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-12-05 13:19:19 |
| 言語 | C# (.NET 8.0.404) |
| 結果 |
MLE
|
| 実行時間 | - |
| コード長 | 703 bytes |
| 記録 | |
| コンパイル時間 | 8,226 ms |
| コンパイル使用メモリ | 170,232 KB |
| 実行使用メモリ | 187,832 KB |
| 最終ジャッジ日時 | 2025-12-05 13:19:49 |
| 合計ジャッジ時間 | 10,171 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 MLE * 1 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (116 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
class Program
{
static void Main(string[] args)
{
string[] input = Console.ReadLine()!.Split(' ');
int year = int.Parse(input[0]);
int month = int.Parse(input[1]);
int day = int.Parse(input[2]);
if (year >= 1989 && year <= 2019)
{
if (year == 1989 && month == 1 && day < 8)
{
Console.WriteLine("No");
}
else if (year == 2019 && month > 4)
{
Console.WriteLine("No");
}
else
{
Console.WriteLine("Yes");
}
}
else
{
Console.WriteLine("No");
}
}
}