結果
問題 | No.350 d=vt |
ユーザー |
![]() |
提出日時 | 2016-03-18 09:57:16 |
言語 | Nim (2.2.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 233 bytes |
コンパイル時間 | 3,090 ms |
コンパイル使用メモリ | 66,336 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-29 13:11:51 |
合計ジャッジ時間 | 3,779 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
コンパイルメッセージ
/home/judge/data/code/Main.nim(1, 29) Warning: imported and not used: 'sequtils' [UnusedImport] /home/judge/data/code/Main.nim(1, 18) Warning: imported and not used: 'algorithm' [UnusedImport]
ソースコード
import strutils, algorithm, sequtils var input = stdin.readline.split v = input[0].substr(2, input[0].len-1).parseInt t = input[1].parseInt ans = (v*t).intToStr if ans.len < 5: echo(0) else: echo(ans.substr(0, ans.len-5))