結果

問題 No.313 π
ユーザー ynyn
提出日時 2015-12-14 11:30:45
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 220 bytes
コンパイル時間 86 ms
コンパイル使用メモリ 10,520 KB
実行使用メモリ 8,412 KB
最終ジャッジ日時 2023-10-13 16:14:26
合計ジャッジ時間 2,043 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 WA -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 22 ms
8,356 KB
testcase_13 AC 21 ms
8,412 KB
testcase_14 AC 21 ms
8,356 KB
testcase_15 AC 21 ms
8,308 KB
testcase_16 AC 21 ms
8,308 KB
testcase_17 AC 21 ms
8,292 KB
testcase_18 WA -
testcase_19 AC 22 ms
8,408 KB
testcase_20 AC 22 ms
8,292 KB
testcase_21 AC 21 ms
8,340 KB
testcase_22 AC 22 ms
8,316 KB
testcase_23 WA -
testcase_24 AC 22 ms
8,344 KB
testcase_25 AC 22 ms
8,348 KB
testcase_26 WA -
testcase_27 AC 21 ms
8,356 KB
testcase_28 WA -
testcase_29 WA -
testcase_30 AC 21 ms
8,288 KB
testcase_31 AC 20 ms
8,352 KB
testcase_32 WA -
testcase_33 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

s = input()
a = [20104, 20063, 19892, 20010, 19874, 20199, 19898, 20163, 19956, 19841]

for i in range(10):
    if s.count(str(i)) > a[i]:
        ans1 = i
    if s.count(str(i)) < a[i]:
        ans2 = i
print(ans1,ans2)
0