結果
| 問題 |
No.1357 Nada junior high school entrance examination 3rd day
|
| コンテスト | |
| ユーザー |
gew1fw
|
| 提出日時 | 2025-06-12 20:46:51 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 198 bytes |
| コンパイル時間 | 200 ms |
| コンパイル使用メモリ | 82,208 KB |
| 実行使用メモリ | 64,176 KB |
| 最終ジャッジ日時 | 2025-06-12 20:47:10 |
| 合計ジャッジ時間 | 2,168 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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])))
gew1fw