結果
| 問題 | No.313 π |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-03-10 16:48:36 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 3,350 ms / 5,000 ms |
| コード長 | 247 bytes |
| 記録 | |
| コンパイル時間 | 227 ms |
| コンパイル使用メモリ | 77,524 KB |
| 最終ジャッジ日時 | 2025-12-03 19:40:25 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 32 |
ソースコード
#coding: utf-8 ##yuki_313 import sys ref=[20104,20063,19892,20010,19874,20199,19898,20163,19956,19841] s=raw_input() if s[0]!='3': print s[0],3 sys.exit() while s[-1]!='.': s1=int(s[-1]) ref[s1]-=1 s=s[:-1] print ref.index(-1),ref.index(1)