結果
| 問題 | No.3505 Sum of Prod of Root |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-04-19 01:44:34 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 183 bytes |
| 記録 | |
| コンパイル時間 | 158 ms |
| コンパイル使用メモリ | 85,204 KB |
| 実行使用メモリ | 97,084 KB |
| 最終ジャッジ日時 | 2026-04-19 01:45:17 |
| 合計ジャッジ時間 | 12,174 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | -- * 1 |
| other | TLE * 1 -- * 12 |
ソースコード
import math
a = lambda n:n*a(math.floor(math.sqrt(n))) if n != 1 else 1
o = int(input())
s=0
c=0
while True:
c += 1
s += a(c)
if c == o:
break
print(s % 998244353)