結果
問題 | No.1737 One to N |
ユーザー |
![]() |
提出日時 | 2021-11-18 18:39:08 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 46 ms / 2,000 ms |
コード長 | 174 bytes |
コンパイル時間 | 467 ms |
コンパイル使用メモリ | 82,048 KB |
実行使用メモリ | 51,968 KB |
最終ジャッジ日時 | 2024-12-26 17:19:12 |
合計ジャッジ時間 | 2,998 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 27 |
ソースコード
n = int(input())rep = int(n**0.5)+1plist = [0]for i in range(2,rep):while n%i==0:n //= iplist.append(i)if n==1: breakif n!=1:plist.append(n)print(sum(plist))