結果
| 問題 | No.313 π |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-12-06 00:21:55 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 358 bytes |
| 記録 | |
| コンパイル時間 | 150 ms |
| コンパイル使用メモリ | 77,520 KB |
| 最終ジャッジ日時 | 2025-12-03 18:21:04 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 32 |
ソースコード
# -*- coding: utf-8 -*-
import sys,copy,math,heapq,itertools as it,fractions,re,bisect,collections as coll
ans = [20104, 20063, 19892, 20011, 19874, 20199, 19898, 20163, 19956, 19841]
s = raw_input()
cnt = [0]*10
for si in s:
cnt[int(si)] += 1
for i in xrange(10):
if ans[i] < cnt[i]:
a = i
if ans[i] > cnt[i]:
b = i
print a, b