結果

問題 No.296 n度寝
ユーザー steek79steek79
提出日時 2015-11-06 22:25:15
言語 Python2
(2.7.18)
結果
TLE  
実行時間 -
コード長 126 bytes
コンパイル時間 471 ms
コンパイル使用メモリ 6,712 KB
実行使用メモリ 10,492 KB
最終ジャッジ日時 2023-10-11 14:35:56
合計ジャッジ時間 6,002 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 TLE -
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 11 ms
5,928 KB
testcase_04 AC 11 ms
6,000 KB
testcase_05 AC 12 ms
6,044 KB
testcase_06 AC 11 ms
5,844 KB
testcase_07 TLE -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

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

M += (N-1) * T

while M > 60:
    M -= 60
    H += 1

H = H % 24

print H
print M
0