結果
| 問題 | No.3505 Sum of Prod of Root |
| コンテスト | |
| ユーザー |
Palladium
|
| 提出日時 | 2026-04-18 11:30:51 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 190 bytes |
| 記録 | |
| コンパイル時間 | 347 ms |
| コンパイル使用メモリ | 20,824 KB |
| 実行使用メモリ | 31,644 KB |
| 最終ジャッジ日時 | 2026-04-18 11:31:22 |
| 合計ジャッジ時間 | 7,668 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | -- * 1 |
| other | TLE * 1 -- * 12 |
ソースコード
from math import floor, pow
n = int(input())
out = 0
for i in range(1, n+1):
tmp = 1
for k in range(1, i+1):
tmp *= floor(pow(i, 1/k))
out += tmp
print (out % 998244353)
Palladium