結果

問題 No.313 π
ユーザー yn
提出日時 2015-12-14 11:23:06
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 322 bytes
コンパイル時間 327 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 11,136 KB
最終ジャッジ日時 2024-09-15 12:14:06
合計ジャッジ時間 3,978 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1
other AC * 20 WA * 9 RE * 3
権限があれば一括ダウンロードができます

ソースコード

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