結果
問題 |
No.312 置換処理
|
ユーザー |
|
提出日時 | 2015-12-06 17:14:50 |
言語 | Python2 (2.7.18) |
結果 |
TLE
|
実行時間 | - |
コード長 | 264 bytes |
コンパイル時間 | 166 ms |
コンパイル使用メモリ | 7,072 KB |
実行使用メモリ | 15,004 KB |
最終ジャッジ日時 | 2024-09-14 15:57:45 |
合計ジャッジ時間 | 3,769 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 TLE * 1 -- * 43 |
ソースコード
from sys import stdin, stdout from decimal import Decimal as d def dec_range(x,y): x= d(x) y= d(y) while x < y: yield x x= x+1 def f(n): n= d(n) for y in dec_range(d(3),n): if n%y == d(0): return y return n n= stdin.readline() print f(n)