結果

問題 No.2371 最大の試練それは起床
ユーザー dm99xdm99x
提出日時 2023-07-14 17:39:04
言語 C
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 239 bytes
コンパイル時間 145 ms
コンパイル使用メモリ 27,000 KB
実行使用メモリ 4,376 KB
最終ジャッジ日時 2023-10-14 07:25:30
合計ジャッジ時間 1,065 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,348 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 0 ms
4,352 KB
testcase_04 AC 1 ms
4,348 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 1 ms
4,352 KB
testcase_10 WA -
testcase_11 AC 0 ms
4,352 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 1 ms
4,352 KB
testcase_17 AC 0 ms
4,356 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

int main() {
	int H, M;
	scanf("&d &d", &H, &M);
	if (60*H + M < 60*7 + 30)
	{
		printf("Yes\n");
	}
	else if ((60*7 + 30 <= 60*H + M) && (60*H + M < 8*60 + 30))
	{
		printf("Late\n");
	}
	else
	{
		printf("No\n");
	}
}
0