結果

問題 No.2699 Simple Math (Returned)
ユーザー tobbie
提出日時 2024-05-01 15:38:40
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 187 bytes
コンパイル時間 184 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 34,532 KB
最終ジャッジ日時 2024-11-21 20:41:52
合計ジャッジ時間 35,775 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other TLE * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

MOD = 998244353

T = int(input())
for i in range(T):
    [N, M] = input().split()
    N = int(N)
    M = int(M)
    m = 10**N - 1
    n = 10**M + 1
    ans = (m % n) % MOD
    print(ans)
0