結果

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

ソースコード

diff #

a = int(input())
b = int(a//100)
c = int((a-100*b)//10)
b = (b+10)%24
c = c*6
if b<10 and c<10:
    print("0",b,":","0",c,sep="")
elif b<10:
    print("0",b,":",c,sep="")
elif c<10:
    print(b,":","0",c,sep="")
else:
    print(b,c,sep=":")
0