結果

問題 No.537 ユーザーID
ユーザー pressedkonbu
提出日時 2017-07-02 23:42:23
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 391 bytes
コンパイル時間 71 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 12,160 KB
最終ジャッジ日時 2024-10-05 08:54:34
合計ジャッジ時間 4,298 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 32
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
N = int(input())
count = 0
ans = list()
X = list()
print(math.sqrt(N))
for i in range(0, math.floor(math.sqrt(N))):
	q = N/(i+1)
	if q.is_integer(): #割り切れるか判定
		ans.append(i+1)
		ans.append(int(q))
for i in range(0, len(ans), 2):
	X.append(str(ans[i]) + str(ans[i+1]))
	X.append(str(ans[i+1]) + str(ans[i]))
X_uni = list(set(X)) #重複の削除
print(len(X_uni))
0