結果
問題 | No.2371 最大の試練それは起床 |
ユーザー |
![]() |
提出日時 | 2023-07-19 16:56:07 |
言語 | C# (.NET 8.0.404) |
結果 |
AC
|
実行時間 | 50 ms / 2,000 ms |
コード長 | 575 bytes |
コンパイル時間 | 14,032 ms |
コンパイル使用メモリ | 167,828 KB |
実行使用メモリ | 182,932 KB |
最終ジャッジ日時 | 2024-09-19 15:42:28 |
合計ジャッジ時間 | 14,225 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 19 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (94 ms)。 MSBuild のバージョン 17.9.6+a4ecab324 (.NET) main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.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");}}}