結果
問題 |
No.668 6.0*10^23
|
ユーザー |
![]() |
提出日時 | 2018-03-23 22:49:50 |
言語 | Nim (2.2.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 251 bytes |
コンパイル時間 | 2,587 ms |
コンパイル使用メモリ | 64,896 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-30 05:16:03 |
合計ジャッジ時間 | 3,731 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 50 |
コンパイルメッセージ
/home/judge/data/code/Main.nim(1, 8) Warning: imported and not used: 'sequtils' [UnusedImport] /home/judge/data/code/Main.nim(1, 26) Warning: imported and not used: 'math' [UnusedImport]
ソースコード
import sequtils,strutils,math var S = stdin.readline i : int n : int i = S[0..2].parseInt n = S.len - 1 if i mod 10 > 5: i += 10 - (i mod 10) if i >= 1000: n += 1 i = i div 10 echo(formatFloat(i / 100, ffDecimal, 1), "^10*", n)