結果
問題 |
No.312 置換処理
|
ユーザー |
![]() |
提出日時 | 2016-02-24 16:02:16 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 255 bytes |
コンパイル時間 | 96 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 38,492 KB |
最終ジャッジ日時 | 2024-09-22 13:20:55 |
合計ジャッジ時間 | 2,533 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 WA * 14 |
ソースコード
#coding: UTF-8 import sys from operator import itemgetter import re import itertools import math N = input() while (N%2==0): N /= 2 flg = True for i in range(3,long(math.sqrt(N)+1)): if (N%i==0): print i flg = False break if (flg) : print N