結果

問題 No.296 n度寝
ユーザー yumenomatayumeyumenomatayume
提出日時 2020-04-02 08:19:18
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 138 bytes
コンパイル時間 295 ms
コンパイル使用メモリ 87,124 KB
実行使用メモリ 71,660 KB
最終ジャッジ日時 2023-09-10 10:47:27
合計ジャッジ時間 2,379 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 71 ms
71,496 KB
testcase_04 AC 71 ms
71,160 KB
testcase_05 AC 72 ms
71,412 KB
testcase_06 AC 70 ms
71,372 KB
testcase_07 AC 72 ms
71,512 KB
testcase_08 AC 71 ms
71,256 KB
testcase_09 WA -
testcase_10 AC 72 ms
71,396 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 71 ms
71,396 KB
testcase_14 AC 70 ms
71,100 KB
testcase_15 AC 71 ms
71,104 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,h,m,t = map(int,input().split())

mod_h,mod_m = 24,60
cnt_h,cnt_m = divmod(t*(n-1),mod_m)

print((h+cnt_h)%mod_h)
print((m+cnt_m)%mod_m)
0