結果
問題 | No.313 π |
ユーザー |
|
提出日時 | 2016-03-10 16:48:36 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 790 ms / 5,000 ms |
コード長 | 247 bytes |
コンパイル時間 | 466 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-24 17:38:44 |
合計ジャッジ時間 | 21,328 ms |
ジャッジサーバーID (参考情報) |
judge4 / 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)