結果
| 問題 |
No.2480 Sequence Sum
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-10-21 20:00:14 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 213 bytes |
| コンパイル時間 | 206 ms |
| コンパイル使用メモリ | 82,432 KB |
| 実行使用メモリ | 57,728 KB |
| 最終ジャッジ日時 | 2024-09-21 21:25:33 |
| 合計ジャッジ時間 | 1,717 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 7 WA * 6 |
ソースコード
N = int(input()) import sys if N == 1: print(0) exit() ans = N C = 10 ** 5 t = 1 for i in range(2,C): if N % i == 0: count = 0 while N % i == 0: count += 1 N //= i t *= (count + 1) print(ans - t)