結果

問題 No.3277 Forever Monotonic Number
ユーザー nikoro256
提出日時 2025-09-05 00:34:15
言語 PyPy3
(7.3.15)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 146 bytes
コンパイル時間 347 ms
コンパイル使用メモリ 82,848 KB
実行使用メモリ 76,668 KB
最終ジャッジ日時 2025-09-05 00:37:27
合計ジャッジ時間 4,017 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 1
other WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

T=int(input())
p=998244353
for _ in range(T):
    N=int(input())
    ans=1
    ans*=pow(10,N+1,p)-1
    ans*=pow(9,-1,p)
    ans%=p
    print(ans)
0