結果
問題 | No.537 ユーザーID |
ユーザー |
![]() |
提出日時 | 2017-07-28 16:27:00 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 361 bytes |
コンパイル時間 | 166 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 11,136 KB |
最終ジャッジ日時 | 2024-10-10 04:55:17 |
合計ジャッジ時間 | 6,964 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 26 WA * 6 |
ソースコード
N = int(input())num = 0a = 1d = []while a**2 < N:if N%a == 0:num += 2b = str(a)c = str(N//a)if b+c in d:num -= 1if c+b in d:num -= 1d.append(b+c)d.append(c+b)a += 1if a**2 == N:num += 1print(num)