結果

問題 No.2699 Simple Math (Returned)
ユーザー V_MelvilleV_Melville
提出日時 2024-03-29 21:50:05
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 144 bytes
コンパイル時間 256 ms
コンパイル使用メモリ 81,700 KB
実行使用メモリ 203,392 KB
最終ジャッジ日時 2024-03-29 21:50:10
合計ジャッジ時間 4,499 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
60,136 KB
testcase_01 TLE -
testcase_02 -- -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

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