結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
8,336 KB
testcase_01 WA -
testcase_02 AC 15 ms
8,416 KB
testcase_03 AC 15 ms
8,320 KB
testcase_04 AC 13 ms
8,292 KB
testcase_05 AC 14 ms
8,280 KB
testcase_06 AC 13 ms
8,296 KB
testcase_07 AC 14 ms
8,420 KB
testcase_08 AC 14 ms
8,348 KB
testcase_09 AC 14 ms
8,344 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 RE -
testcase_13 AC 72 ms
8,260 KB
testcase_14 AC 77 ms
8,368 KB
testcase_15 AC 69 ms
8,304 KB
testcase_16 AC 69 ms
8,284 KB
testcase_17 AC 66 ms
8,372 KB
testcase_18 WA -
testcase_19 AC 67 ms
8,368 KB
testcase_20 AC 67 ms
8,284 KB
testcase_21 AC 68 ms
8,276 KB
testcase_22 AC 70 ms
8,348 KB
testcase_23 WA -
testcase_24 AC 70 ms
8,412 KB
testcase_25 RE -
testcase_26 WA -
testcase_27 AC 68 ms
8,264 KB
testcase_28 WA -
testcase_29 WA -
testcase_30 AC 70 ms
8,300 KB
testcase_31 RE -
testcase_32 WA -
testcase_33 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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

if int(s[0]) == 3:
    a[3] -= 1
else:
    print(s[0],3)
    exit()

for S in s[2:]:
    a[int(S)] -= 1
    
for i in range(10):
    if a[i] == -1:
        ans1 = i
    if a[i] == 1:
        ans2 = i

print(ans1,ans2)
0