結果
| 問題 |
No.2600 Avator Height
|
| コンテスト | |
| ユーザー |
titia
|
| 提出日時 | 2024-01-12 21:26:11 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 1,332 ms / 2,000 ms |
| コード長 | 219 bytes |
| コンパイル時間 | 138 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 26,480 KB |
| 最終ジャッジ日時 | 2024-09-27 21:11:24 |
| 合計ジャッジ時間 | 34,318 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 25 |
ソースコード
mod=998244353
R=[1,1,1]
E=[1,1,3]
for i in range(2*10**5):
R.append((R[-1]+R[-2])%mod)
E.append((E[-1]+E[-2])%mod)
Q=int(input())
for tests in range(Q):
x=int(input())
print((5*R[x]**2 - E[x]**2)%mod)
titia