結果
| 問題 |
No.667 Mice's Luck(ネズミ達の運)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-09-27 13:18:45 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 151 ms / 2,000 ms |
| コード長 | 247 bytes |
| コンパイル時間 | 138 ms |
| コンパイル使用メモリ | 82,208 KB |
| 実行使用メモリ | 76,464 KB |
| 最終ジャッジ日時 | 2024-07-06 08:56:44 |
| 合計ジャッジ時間 | 2,544 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
#!/usr/bin/env python3
import sys
readline = sys.stdin.buffer.readline
sys.setrecursionlimit(10 ** 7)
s = readline().rstrip()
l = len(s)
k = sum(i == 111 for i in s)
for i in s:
print(k / l * 100)
if i == 111:
k -= 1
l -= 1