请问有算法能 O(n)O(n)O(n) 求 (∑i=1nii) mod 998242353(\sum_{i=1}^n i^i)\bmod 998242353(∑i=1nii)mod998242353 的值吗?