結果

問題 No.296 n度寝
ユーザー ryusukeryusuke
提出日時 2021-02-18 00:29:11
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 173 bytes
コンパイル時間 1,660 ms
コンパイル使用メモリ 86,824 KB
実行使用メモリ 71,392 KB
最終ジャッジ日時 2023-10-12 10:06:17
合計ジャッジ時間 3,114 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 72 ms
71,392 KB
testcase_04 AC 71 ms
71,056 KB
testcase_05 AC 71 ms
71,008 KB
testcase_06 AC 71 ms
70,888 KB
testcase_07 AC 71 ms
71,176 KB
testcase_08 AC 71 ms
71,132 KB
testcase_09 WA -
testcase_10 AC 72 ms
70,892 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 71 ms
71,268 KB
testcase_14 AC 72 ms
71,052 KB
testcase_15 AC 71 ms
71,360 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n, h, m, t = map(int,input().split())
num = (n  - 1) * t
h += (num // 60)
h %= 24
m += (num % 60) % 60
m %= 60
if m == 60:
    h += 1
    h %= 24
    m = 0
print(h)
print(m)
0