結果

問題 No.2467 Sum of Product of Binomial Coefficients
ユーザー rafi2
提出日時 2023-10-06 20:37:03
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 127 bytes
コンパイル時間 438 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 64,896 KB
最終ジャッジ日時 2024-07-26 15:33:55
合計ジャッジ時間 1,602 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 1
other RE * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

n,k = map(int,input().split())
mod = 998244353
ans = 0
for i in range(2,k+2):
    ans += pow(i,n,mod)
    ans %= mod
print(ans)
0