Type: Default 1000ms 256MiB

easy problem

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Problem Description

给定n,求Σi=1ni4\Sigma_{i=1}^{n} i^4,因为答案可能很大,所以输出答案对998244353998244353取模后的结果

Input Format

输入一个整数nn

Output Format

一行一个整数,表示题目所求的式子结果

Sample

输入样例1

1

输出样例1

1

输入样例2

2

输出样例2

17

Hint

1≤n≤1091 \leq n \leq 10^9

第九届重庆邮电大学萌新赛

Not Attended
Status
Done
Rule
XCPC
Problem
9
Start at
2023-12-2 13:00
End at
2023-12-2 18:00
Duration
5 hour(s)
Host
Partic.
0