結果

問題 No.667 Mice's Luck(ネズミ達の運)
ユーザー toshiro_yanagitoshiro_yanagi
提出日時 2018-05-28 13:07:55
言語 Nim
(2.0.2)
結果
TLE  
実行時間 -
コード長 129 bytes
コンパイル時間 3,257 ms
コンパイル使用メモリ 67,848 KB
実行使用メモリ 12,380 KB
最終ジャッジ日時 2023-09-12 20:02:16
合計ジャッジ時間 7,252 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,384 KB
testcase_01 AC 1 ms
4,380 KB
testcase_02 AC 2 ms
4,380 KB
testcase_03 AC 2 ms
4,376 KB
testcase_04 AC 9 ms
4,384 KB
testcase_05 AC 495 ms
11,988 KB
testcase_06 TLE -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

import strutils, math
var s = stdin.readLine

while s.len > 0:
  echo round(s.count('o') / s.len * 100, 7)
  s  = s[1 ..< s.len]
0