結果

問題 No.296 n度寝
ユーザー splash9494splash9494
提出日時 2020-05-04 12:07:27
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 70 ms / 1,000 ms
コード長 150 bytes
コンパイル時間 281 ms
コンパイル使用メモリ 86,788 KB
実行使用メモリ 71,468 KB
最終ジャッジ日時 2023-09-06 06:10:41
合計ジャッジ時間 2,506 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,128 KB
testcase_01 AC 67 ms
70,976 KB
testcase_02 AC 68 ms
70,948 KB
testcase_03 AC 68 ms
71,236 KB
testcase_04 AC 67 ms
71,120 KB
testcase_05 AC 65 ms
71,100 KB
testcase_06 AC 67 ms
71,108 KB
testcase_07 AC 67 ms
71,468 KB
testcase_08 AC 68 ms
71,232 KB
testcase_09 AC 67 ms
71,104 KB
testcase_10 AC 68 ms
71,240 KB
testcase_11 AC 67 ms
71,124 KB
testcase_12 AC 66 ms
71,240 KB
testcase_13 AC 70 ms
71,168 KB
testcase_14 AC 68 ms
71,136 KB
testcase_15 AC 66 ms
71,420 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.buffer.readline

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

M += T * (N - 1)
H += M // 60
M %= 60
H %= 24
print(H)
print(M)
0