結果
| 問題 |
No.537 ユーザーID
|
| コンテスト | |
| ユーザー |
はむ吉🐹
|
| 提出日時 | 2017-07-23 16:42:13 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 71 ms / 2,000 ms |
| コード長 | 347 bytes |
| コンパイル時間 | 457 ms |
| コンパイル使用メモリ | 82,024 KB |
| 実行使用メモリ | 62,264 KB |
| 最終ジャッジ日時 | 2024-10-09 10:59:41 |
| 合計ジャッジ時間 | 3,358 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 32 |
ソースコード
#!/usr/bin/env pypy
import math
def count_xs(n):
xs = set()
for i in range(1, math.floor(math.sqrt(n)) + 1):
j, m = divmod(n, i)
if m == 0:
xs.add(str(i) + str(j))
xs.add(str(j) + str(i))
return len(xs)
def main():
print(count_xs(int(input())))
if __name__ == '__main__':
main()
はむ吉🐹