結果

問題 No.296 n度寝
ユーザー pajannatpajannat
提出日時 2021-04-05 22:38:26
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 324 bytes
コンパイル時間 451 ms
コンパイル使用メモリ 87,012 KB
実行使用メモリ 71,488 KB
最終ジャッジ日時 2023-08-30 09:53:01
合計ジャッジ時間 2,636 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 73 ms
71,400 KB
testcase_04 AC 74 ms
71,484 KB
testcase_05 AC 73 ms
71,200 KB
testcase_06 AC 73 ms
71,408 KB
testcase_07 AC 75 ms
71,256 KB
testcase_08 WA -
testcase_09 AC 73 ms
71,408 KB
testcase_10 AC 72 ms
71,268 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 73 ms
71,324 KB
testcase_14 WA -
testcase_15 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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

# 起床時の分の値の合計値(時への繰り上げ前)
M_sum = M + T*(N-1)

# 起床時の時の値の合計値
H_wake = H + M // 60
H_wake = H_wake % 24

# 起床時の分の値の合計値(時への繰り上げ後)
M_wake = M_sum % 60

print(H_wake)
print(M_wake)
0