結果

問題 No.651 E869120 and Driving
ユーザー crize
提出日時 2018-07-12 11:02:51
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 32 ms / 1,000 ms
コード長 284 bytes
コンパイル時間 155 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-09-22 09:01:21
合計ジャッジ時間 940 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

a=int(input())
time=[10,0]
time[1]=a/(100/60)
while time[1]>=60:
    time[1]=time[1]-60
    time[0]=time[0]+1
    if time[0]>=24:
        time[0]=time[0]-24
if time[1]<10:
    answer=str(time[0])+":0"+str(int(time[1]))
else:
    answer=str(time[0])+":"+str(int(time[1]))
print(answer)
0