結果
| 問題 | No.537 ユーザーID |
| コンテスト | |
| ユーザー |
akanaya
|
| 提出日時 | 2020-03-31 09:20:21 |
| 言語 | Python3 (3.14.2 + numpy 2.4.0 + scipy 1.16.3) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 332 bytes |
| 記録 | |
| コンパイル時間 | 89 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 11,264 KB |
| 最終ジャッジ日時 | 2024-06-23 23:20:34 |
| 合計ジャッジ時間 | 4,433 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 25 WA * 7 |
ソースコード
n = int(input())
def divisors(n):
div = []
i = 1
while(i * i <= n):
if n % i == 0:
div.append([i, n // i])
i += 1
return div
div = divisors(n)
count = 0
for d in div:
if str(d[0]) + str(d[1]) == str(d[1]) + str(d[0]):
count += 1
else:
count += 2
print(count)
akanaya