結果

問題 No.296 n度寝
ユーザー jjwattjjwatt
提出日時 2020-03-18 15:44:01
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 131 bytes
コンパイル時間 78 ms
コンパイル使用メモリ 10,584 KB
実行使用メモリ 8,012 KB
最終ジャッジ日時 2023-08-20 20:04:13
合計ジャッジ時間 1,709 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 12 ms
7,952 KB
testcase_04 AC 14 ms
7,964 KB
testcase_05 AC 13 ms
7,848 KB
testcase_06 AC 13 ms
7,868 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 12 ms
7,800 KB
testcase_10 AC 13 ms
7,896 KB
testcase_11 AC 12 ms
7,876 KB
testcase_12 AC 13 ms
8,012 KB
testcase_13 AC 13 ms
7,884 KB
testcase_14 AC 12 ms
7,796 KB
testcase_15 AC 12 ms
7,868 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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