結果
問題 | No.8006 A winter wonderland |
ユーザー |
|
提出日時 | 2023-09-18 15:47:17 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 81 ms / 5,000 ms |
コード長 | 170 bytes |
コンパイル時間 | 85 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 11,392 KB |
最終ジャッジ日時 | 2024-07-05 06:18:27 |
合計ジャッジ時間 | 3,993 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 30 |
ソースコード
# findthefirstsubstringequaltothegivenxfromsqrt(2)import decimaldecimal.getcontext().prec = 10000s = str(decimal.Decimal(2).sqrt())x = input()print(s.index(x)-1)