結果

問題 No.296 n度寝
ユーザー brthyyjpbrthyyjp
提出日時 2021-09-06 18:11:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 77 ms / 1,000 ms
コード長 108 bytes
コンパイル時間 513 ms
コンパイル使用メモリ 86,236 KB
実行使用メモリ 71,192 KB
最終ジャッジ日時 2023-08-24 05:36:57
合計ジャッジ時間 2,765 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
70,764 KB
testcase_01 AC 77 ms
71,052 KB
testcase_02 AC 72 ms
71,116 KB
testcase_03 AC 72 ms
71,132 KB
testcase_04 AC 71 ms
71,012 KB
testcase_05 AC 71 ms
70,892 KB
testcase_06 AC 72 ms
70,832 KB
testcase_07 AC 73 ms
71,052 KB
testcase_08 AC 73 ms
70,620 KB
testcase_09 AC 73 ms
71,160 KB
testcase_10 AC 73 ms
71,132 KB
testcase_11 AC 72 ms
71,000 KB
testcase_12 AC 74 ms
71,116 KB
testcase_13 AC 72 ms
71,004 KB
testcase_14 AC 70 ms
71,012 KB
testcase_15 AC 71 ms
71,192 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n, h, m, t = map(int, input().split())
T = h*60+m+t*(n-1)
T %= 24*60
H, M = divmod(T, 60)
print(H)
print(M)
0