結果
| 問題 |
No.537 ユーザーID
|
| コンテスト | |
| ユーザー |
ymgckyo
|
| 提出日時 | 2017-10-15 13:05:37 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 354 bytes |
| コンパイル時間 | 208 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 21,888 KB |
| 最終ジャッジ日時 | 2024-11-17 17:41:48 |
| 合計ジャッジ時間 | 57,338 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 15 TLE * 1 OLE * 16 |
ソースコード
import math
n = int(input())
nums = []
for i in range(1, int(math.sqrt(n))+1):
for j in range(1, n+1):
print(i, j)
if i*j == n:
num = str(i) + str(j)
if not num in nums:
nums.append(num)
break
if math.sqrt(n)%1 == 0:
print(len(nums) * 2 - 1)
else:
print(len(nums) * 2)
ymgckyo