結果

問題 No.313 π
ユーザー hirokazu1020hirokazu1020
提出日時 2015-12-07 01:52:32
言語 Python2
(2.7.18)
結果
AC  
実行時間 61 ms / 5,000 ms
コード長 277 bytes
コンパイル時間 596 ms
コンパイル使用メモリ 6,512 KB
実行使用メモリ 6,636 KB
最終ジャッジ日時 2023-10-12 19:27:03
合計ジャッジ時間 4,615 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 61 ms
6,636 KB
testcase_01 AC 60 ms
6,432 KB
testcase_02 AC 61 ms
6,464 KB
testcase_03 AC 61 ms
6,504 KB
testcase_04 AC 61 ms
6,604 KB
testcase_05 AC 61 ms
6,524 KB
testcase_06 AC 61 ms
6,504 KB
testcase_07 AC 61 ms
6,464 KB
testcase_08 AC 61 ms
6,472 KB
testcase_09 AC 61 ms
6,508 KB
testcase_10 AC 61 ms
6,532 KB
testcase_11 AC 60 ms
6,540 KB
testcase_12 AC 60 ms
6,580 KB
testcase_13 AC 60 ms
6,576 KB
testcase_14 AC 61 ms
6,436 KB
testcase_15 AC 61 ms
6,528 KB
testcase_16 AC 61 ms
6,532 KB
testcase_17 AC 61 ms
6,544 KB
testcase_18 AC 60 ms
6,436 KB
testcase_19 AC 60 ms
6,612 KB
testcase_20 AC 60 ms
6,580 KB
testcase_21 AC 60 ms
6,500 KB
testcase_22 AC 60 ms
6,596 KB
testcase_23 AC 61 ms
6,428 KB
testcase_24 AC 60 ms
6,436 KB
testcase_25 AC 60 ms
6,540 KB
testcase_26 AC 61 ms
6,604 KB
testcase_27 AC 60 ms
6,536 KB
testcase_28 AC 61 ms
6,468 KB
testcase_29 AC 60 ms
6,584 KB
testcase_30 AC 60 ms
6,440 KB
testcase_31 AC 61 ms
6,536 KB
testcase_32 AC 60 ms
6,612 KB
testcase_33 AC 61 ms
6,576 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter

a={ '0':20104,'1':20063,'2':19892,'3':20011,'4':19874,'5':20199,'6':19898,'7':20163,'8':19956,'9':19841,'.':1 }
b = Counter(raw_input())
for c,f in a.items():
    if f<b[c]:
        print c,
for c,f in a.items():
    if f>b[c]:
        print c
0