結果

問題 No.3006 A winter wonderland
ユーザー peroonperoon
提出日時 2019-05-12 22:34:03
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 72 ms / 5,000 ms
コード長 131 bytes
コンパイル時間 228 ms
コンパイル使用メモリ 10,568 KB
実行使用メモリ 8,908 KB
最終ジャッジ日時 2023-09-19 06:13:51
合計ジャッジ時間 4,565 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
8,852 KB
testcase_01 AC 71 ms
8,852 KB
testcase_02 AC 71 ms
8,776 KB
testcase_03 AC 72 ms
8,840 KB
testcase_04 AC 71 ms
8,812 KB
testcase_05 AC 71 ms
8,752 KB
testcase_06 AC 70 ms
8,756 KB
testcase_07 AC 71 ms
8,904 KB
testcase_08 AC 71 ms
8,820 KB
testcase_09 AC 70 ms
8,768 KB
testcase_10 AC 70 ms
8,840 KB
testcase_11 AC 70 ms
8,828 KB
testcase_12 AC 70 ms
8,740 KB
testcase_13 AC 70 ms
8,744 KB
testcase_14 AC 71 ms
8,852 KB
testcase_15 AC 71 ms
8,896 KB
testcase_16 AC 70 ms
8,852 KB
testcase_17 AC 71 ms
8,748 KB
testcase_18 AC 70 ms
8,820 KB
testcase_19 AC 71 ms
8,908 KB
testcase_20 AC 70 ms
8,736 KB
testcase_21 AC 70 ms
8,736 KB
testcase_22 AC 70 ms
8,756 KB
testcase_23 AC 71 ms
8,740 KB
testcase_24 AC 70 ms
8,852 KB
testcase_25 AC 70 ms
8,844 KB
testcase_26 AC 70 ms
8,904 KB
testcase_27 AC 71 ms
8,752 KB
testcase_28 AC 71 ms
8,752 KB
testcase_29 AC 70 ms
8,740 KB
testcase_30 AC 70 ms
8,708 KB
testcase_31 AC 71 ms
8,908 KB
testcase_32 AC 71 ms
8,804 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import decimal
decimal.getcontext().prec = 10000
d = decimal.Decimal(2)
s = str(d.sqrt())
n = str(input())
i = s.find(n)
print(i-1)
0