結果
問題 | No.651 E869120 and Driving |
ユーザー | Neko205 |
提出日時 | 2018-10-29 03:49:14 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
AC
|
実行時間 | 33 ms / 1,000 ms |
コード長 | 262 bytes |
コンパイル時間 | 101 ms |
コンパイル使用メモリ | 11,816 KB |
実行使用メモリ | 10,132 KB |
最終ジャッジ日時 | 2023-10-22 08:03:23 |
合計ジャッジ時間 | 988 ms |
ジャッジサーバーID (参考情報) |
judge9 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 29 ms
10,132 KB |
testcase_01 | AC | 33 ms
10,132 KB |
testcase_02 | AC | 32 ms
10,132 KB |
testcase_03 | AC | 30 ms
10,132 KB |
testcase_04 | AC | 29 ms
10,132 KB |
testcase_05 | AC | 30 ms
10,132 KB |
testcase_06 | AC | 29 ms
10,132 KB |
testcase_07 | AC | 29 ms
10,132 KB |
testcase_08 | AC | 29 ms
10,132 KB |
testcase_09 | AC | 28 ms
10,132 KB |
ソースコード
N = int(input()) t = int(N *60 /100)#先に割ると浮動小数点の誤差が生まれるのでこの書き方になっている m = t % 60 h = (t - m) / 60 print("{0}:0{1}".format(int(10 + h),int(m))) if m < 10 else print("{0}:{1}".format(int(10 + h),int(m)))