結果

問題 No.296 n度寝
ユーザー 👑 KazunKazun
提出日時 2020-05-31 14:58:34
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 41 ms / 1,000 ms
コード長 95 bytes
コンパイル時間 796 ms
コンパイル使用メモリ 82,132 KB
実行使用メモリ 53,320 KB
最終ジャッジ日時 2024-04-28 18:35:24
合計ジャッジ時間 1,844 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
52,220 KB
testcase_01 AC 38 ms
52,372 KB
testcase_02 AC 40 ms
53,320 KB
testcase_03 AC 40 ms
51,936 KB
testcase_04 AC 40 ms
52,608 KB
testcase_05 AC 41 ms
51,988 KB
testcase_06 AC 40 ms
52,424 KB
testcase_07 AC 39 ms
52,024 KB
testcase_08 AC 38 ms
52,640 KB
testcase_09 AC 39 ms
52,608 KB
testcase_10 AC 38 ms
51,628 KB
testcase_11 AC 39 ms
52,744 KB
testcase_12 AC 39 ms
52,060 KB
testcase_13 AC 39 ms
53,232 KB
testcase_14 AC 39 ms
51,956 KB
testcase_15 AC 38 ms
52,256 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

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

print("{}\n{}".format(H,M))
0