結果

問題 No.312 置換処理
ユーザー soupesuteakasoupesuteaka
提出日時 2016-02-24 16:01:06
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 229 bytes
コンパイル時間 103 ms
コンパイル使用メモリ 7,168 KB
実行使用メモリ 38,536 KB
最終ジャッジ日時 2023-10-23 19:37:38
合計ジャッジ時間 2,928 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
30,624 KB
testcase_01 WA -
testcase_02 AC 150 ms
38,476 KB
testcase_03 WA -
testcase_04 AC 12 ms
6,880 KB
testcase_05 AC 48 ms
38,212 KB
testcase_06 AC 37 ms
25,080 KB
testcase_07 AC 72 ms
34,516 KB
testcase_08 AC 42 ms
32,736 KB
testcase_09 AC 25 ms
18,548 KB
testcase_10 AC 27 ms
20,660 KB
testcase_11 AC 52 ms
33,264 KB
testcase_12 AC 33 ms
24,884 KB
testcase_13 AC 45 ms
35,836 KB
testcase_14 AC 35 ms
27,456 KB
testcase_15 AC 33 ms
24,884 KB
testcase_16 AC 24 ms
17,756 KB
testcase_17 AC 43 ms
30,096 KB
testcase_18 AC 39 ms
30,360 KB
testcase_19 AC 42 ms
33,988 KB
testcase_20 AC 47 ms
37,156 KB
testcase_21 AC 49 ms
37,948 KB
testcase_22 AC 12 ms
6,880 KB
testcase_23 AC 11 ms
6,880 KB
testcase_24 AC 12 ms
6,880 KB
testcase_25 WA -
testcase_26 AC 12 ms
6,880 KB
testcase_27 WA -
testcase_28 AC 12 ms
6,880 KB
testcase_29 WA -
testcase_30 WA -
testcase_31 AC 18 ms
12,544 KB
testcase_32 AC 25 ms
9,640 KB
testcase_33 AC 56 ms
16,504 KB
testcase_34 AC 55 ms
16,700 KB
testcase_35 AC 26 ms
16,700 KB
testcase_36 AC 12 ms
6,880 KB
testcase_37 AC 11 ms
6,880 KB
testcase_38 AC 12 ms
6,880 KB
testcase_39 AC 23 ms
15,976 KB
testcase_40 AC 13 ms
8,320 KB
testcase_41 AC 12 ms
6,892 KB
testcase_42 AC 13 ms
7,792 KB
testcase_43 AC 12 ms
6,880 KB
testcase_44 AC 12 ms
6,880 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#coding: UTF-8

import sys
from operator import itemgetter
import re
import itertools
import math

N = input()

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
0