結果

問題 No.296 n度寝
ユーザー ryusukeryusuke
提出日時 2021-02-18 00:27:49
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 162 bytes
コンパイル時間 731 ms
コンパイル使用メモリ 87,180 KB
実行使用メモリ 71,600 KB
最終ジャッジ日時 2023-10-12 10:03:04
合計ジャッジ時間 2,846 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
71,272 KB
testcase_01 AC 77 ms
71,416 KB
testcase_02 AC 74 ms
71,356 KB
testcase_03 AC 77 ms
71,356 KB
testcase_04 AC 78 ms
71,484 KB
testcase_05 AC 78 ms
71,324 KB
testcase_06 AC 77 ms
71,320 KB
testcase_07 AC 74 ms
71,296 KB
testcase_08 AC 76 ms
71,184 KB
testcase_09 WA -
testcase_10 AC 76 ms
71,164 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 76 ms
71,488 KB
testcase_14 AC 78 ms
71,316 KB
testcase_15 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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