結果
問題 |
No.1022 Power Equation
|
ユーザー |
|
提出日時 | 2020-04-10 23:19:15 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 191 bytes |
コンパイル時間 | 126 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-09-16 00:36:04 |
合計ジャッジ時間 | 951 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 |
other | WA * 8 |
ソースコード
# coding: utf-8 T=int(input()) for t in range(T): N=int(input()) ans=N*N+N*(N-1) for i in range(2,10): ans+=(N//i) * (int(N**(1/i))-1) * 2 print(ans)