結果

問題 No.313 π
ユーザー matsu7874matsu7874
提出日時 2015-12-07 00:32:34
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 79 ms / 5,000 ms
コード長 185 bytes
コンパイル時間 73 ms
コンパイル使用メモリ 10,660 KB
実行使用メモリ 8,448 KB
最終ジャッジ日時 2023-10-12 18:41:32
合計ジャッジ時間 3,467 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
8,336 KB
testcase_01 AC 79 ms
8,388 KB
testcase_02 AC 16 ms
8,288 KB
testcase_03 AC 16 ms
8,304 KB
testcase_04 AC 16 ms
8,388 KB
testcase_05 AC 16 ms
8,324 KB
testcase_06 AC 15 ms
8,296 KB
testcase_07 AC 15 ms
8,292 KB
testcase_08 AC 16 ms
8,304 KB
testcase_09 AC 16 ms
8,296 KB
testcase_10 AC 77 ms
8,376 KB
testcase_11 AC 76 ms
8,388 KB
testcase_12 AC 77 ms
8,264 KB
testcase_13 AC 77 ms
8,260 KB
testcase_14 AC 76 ms
8,292 KB
testcase_15 AC 76 ms
8,224 KB
testcase_16 AC 76 ms
8,392 KB
testcase_17 AC 75 ms
8,308 KB
testcase_18 AC 77 ms
8,368 KB
testcase_19 AC 76 ms
8,268 KB
testcase_20 AC 75 ms
8,304 KB
testcase_21 AC 77 ms
8,392 KB
testcase_22 AC 76 ms
8,304 KB
testcase_23 AC 78 ms
8,224 KB
testcase_24 AC 76 ms
8,276 KB
testcase_25 AC 76 ms
8,296 KB
testcase_26 AC 75 ms
8,292 KB
testcase_27 AC 78 ms
8,372 KB
testcase_28 AC 76 ms
8,448 KB
testcase_29 AC 76 ms
8,392 KB
testcase_30 AC 78 ms
8,224 KB
testcase_31 AC 77 ms
8,388 KB
testcase_32 AC 76 ms
8,388 KB
testcase_33 AC 76 ms
8,304 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A=[20104,20063,19892,20010,19874,20199,19898,20163,19956,19841]
S=input()
if S[0] != '3':
    print(S[0],3)
    exit()
for c in S[2:]:
    A[int(c)] -= 1
print(A.index(-1), A.index(1))
0