結果
問題 |
No.537 ユーザーID
|
ユーザー |
![]() |
提出日時 | 2017-09-21 01:25:12 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 268 bytes |
コンパイル時間 | 272 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 16,000 KB |
最終ジャッジ日時 | 2024-11-08 09:24:27 |
合計ジャッジ時間 | 17,575 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 13 WA * 9 TLE * 4 -- * 6 |
ソースコード
n = int(input()) limit = int(n**(1/2)) numbers = [] for i in range(1, limit + 1): if i in numbers: break elif n%i == 0: numbers.append(i) numbers.append(n//i) if limit**2 == n: print(len(numbers) - 1) else: print(len(numbers))