結果
問題 |
No.537 ユーザーID
|
ユーザー |
![]() |
提出日時 | 2017-06-29 23:34:44 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 196 ms / 2,000 ms |
コード長 | 242 bytes |
コンパイル時間 | 235 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 11,520 KB |
最終ジャッジ日時 | 2024-10-04 17:01:44 |
合計ジャッジ時間 | 4,155 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 32 |
ソースコード
n = int(input()) assert 0 <= n <= 1000000000000, 'invalid input: N' sn = int(n**0.5+0.00001) ret = 0 s = set() for i in range(1, sn+1): if n % i == 0: s.add(str(n // i) + str(i)) s.add(str(i) + str(n // i)) print(len(s))