結果
問題 |
No.1737 One to N
|
ユーザー |
![]() |
提出日時 | 2021-11-12 21:55:24 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 45 ms / 2,000 ms |
コード長 | 173 bytes |
コンパイル時間 | 227 ms |
コンパイル使用メモリ | 82,196 KB |
実行使用メモリ | 59,532 KB |
最終ジャッジ日時 | 2024-11-25 18:15:22 |
合計ジャッジ時間 | 2,477 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 27 |
ソースコード
""" """ import sys from sys import stdin N = int(stdin.readline()) ans = 0 for i in range(2,N+1): while N % i == 0: ans += i N //= i print (ans)