結果

問題 No.2699 Simple Math (Returned)
ユーザー Aralov Otabek
提出日時 2025-03-09 22:17:57
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 138 bytes
コンパイル時間 576 ms
コンパイル使用メモリ 82,232 KB
実行使用メモリ 196,784 KB
最終ジャッジ日時 2025-03-09 22:18:04
合計ジャッジ時間 6,884 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other TLE * 1 -- * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

mod=998244353
t=int(input())
for _ in range(t):
    n,m=map(int,input().split())
    a=pow(10,n)-1
    b=pow(10,m)+1
    print((a%b)%mod)
0