結果
| 問題 | No.2371 最大の試練それは起床 |
| コンテスト | |
| ユーザー |
Ity443
|
| 提出日時 | 2023-07-19 16:56:07 |
| 言語 | C# (.NET 10.0.201) |
| 結果 |
AC
|
| 実行時間 | 71 ms / 2,000 ms |
| コード長 | 575 bytes |
| 記録 | |
| コンパイル時間 | 6,661 ms |
| コンパイル使用メモリ | 172,384 KB |
| 実行使用メモリ | 193,260 KB |
| 最終ジャッジ日時 | 2026-04-08 02:54:51 |
| 合計ジャッジ時間 | 9,061 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 19 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (93 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net10.0/main.dll main -> /home/judge/data/code/bin/Release/net10.0/publish/
ソースコード
using System;
class Program
{
static void Main(string[] args)
{
var read = Console.ReadLine();
string[] str = read.ToString().Split(" ");
int H = int.Parse(str[0]);
int M = int.Parse(str[1]);
Ans(H, M);
}
static void Ans(int h, int m)
{
if (h < 7 || h == 7 && m < 30)
{
Console.WriteLine("Yes");
}
else if (h < 8 || h == 8 && m < 30)
{
Console.WriteLine("Late");
}
else
{
Console.WriteLine("No");
}
}
}
Ity443