結果
問題 |
No.1357 Nada junior high school entrance examination 3rd day
|
ユーザー |
![]() |
提出日時 | 2025-06-12 15:53:44 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 198 bytes |
コンパイル時間 | 207 ms |
コンパイル使用メモリ | 82,656 KB |
実行使用メモリ | 64,564 KB |
最終ジャッジ日時 | 2025-06-12 15:53:46 |
合計ジャッジ時間 | 1,894 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | WA * 21 |
ソースコード
MOD = 998244353 K = int(input()) ans = [0] * (2 * K + 1) # For K=1, the answer is 0 0 1/6 mod MOD if K >= 1: inv6 = pow(6, MOD-2, MOD) ans[2] = inv6 print(' '.join(map(str, ans[:2*K+1])))