結果

問題 No.296 n度寝
ユーザー ynyn
提出日時 2015-11-06 23:53:01
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 117 bytes
コンパイル時間 93 ms
コンパイル使用メモリ 10,624 KB
実行使用メモリ 8,012 KB
最終ジャッジ日時 2023-10-11 14:25:38
合計ジャッジ時間 1,245 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 15 ms
7,868 KB
testcase_02 AC 15 ms
7,852 KB
testcase_03 WA -
testcase_04 AC 15 ms
7,856 KB
testcase_05 WA -
testcase_06 AC 15 ms
7,812 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 15 ms
7,812 KB
testcase_11 WA -
testcase_12 AC 15 ms
7,728 KB
testcase_13 AC 15 ms
7,816 KB
testcase_14 WA -
testcase_15 AC 14 ms
7,932 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

n-=1
time=h*60+m
time+=t*n
ansh=(time//60)%24
ansm=time%24
print(ansh)
print(ansm)
0