結果

問題 No.296 n度寝
ユーザー ABKZABKZ
提出日時 2021-06-16 10:46:39
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 68 ms / 1,000 ms
コード長 154 bytes
コンパイル時間 279 ms
コンパイル使用メモリ 87,008 KB
実行使用メモリ 71,540 KB
最終ジャッジ日時 2023-08-28 17:30:10
合計ジャッジ時間 2,219 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,444 KB
testcase_01 AC 68 ms
71,216 KB
testcase_02 AC 67 ms
71,292 KB
testcase_03 AC 67 ms
71,540 KB
testcase_04 AC 68 ms
71,320 KB
testcase_05 AC 68 ms
71,484 KB
testcase_06 AC 67 ms
71,312 KB
testcase_07 AC 67 ms
71,292 KB
testcase_08 AC 67 ms
71,424 KB
testcase_09 AC 66 ms
71,500 KB
testcase_10 AC 67 ms
71,112 KB
testcase_11 AC 67 ms
71,512 KB
testcase_12 AC 67 ms
71,308 KB
testcase_13 AC 66 ms
71,292 KB
testcase_14 AC 66 ms
71,124 KB
testcase_15 AC 66 ms
71,508 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N, H, M, T = map(int, input().split())

duration = T * (N - 1)
carry, minute = divmod(M + duration, 60)
hour = (H + carry) % 24

print(hour)
print(minute)
0