結果
問題 |
No.651 E869120 and Driving
|
ユーザー |
![]() |
提出日時 | 2023-08-16 19:55:51 |
言語 | Nim (2.2.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 236 bytes |
コンパイル時間 | 3,939 ms |
コンパイル使用メモリ | 76,724 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-25 09:49:07 |
合計ジャッジ時間 | 4,605 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 7 |
ソースコード
import sequtils, strutils, times let a = parseInt readLine stdin m = int a / 100 * 60 t = initDuration(hours = 10, minutes = m) hr = t.toParts[Hours] min = t.toParts[Minutes] echo [$hr, $min].mapIt(it.align(2, '0')).join ":"