結果
問題 | No.2699 Simple Math (Returned) |
ユーザー | a |
提出日時 | 2024-03-29 21:20:41 |
言語 | PyPy3 (7.3.15) |
結果 |
MLE
|
実行時間 | - |
コード長 | 131 bytes |
コンパイル時間 | 485 ms |
コンパイル使用メモリ | 81,572 KB |
実行使用メモリ | 843,824 KB |
最終ジャッジ日時 | 2024-03-29 21:20:50 |
合計ジャッジ時間 | 9,146 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 35 ms
53,332 KB |
testcase_01 | AC | 501 ms
76,020 KB |
testcase_02 | MLE | - |
testcase_03 | AC | 587 ms
75,768 KB |
testcase_04 | RE | - |
testcase_05 | MLE | - |
testcase_06 | RE | - |
testcase_07 | MLE | - |
testcase_08 | RE | - |
testcase_09 | MLE | - |
testcase_10 | MLE | - |
testcase_11 | MLE | - |
ソースコード
for _ in range(int(input())): n,m=map(int,input().split()) if n%(2*m)==0: print(0) else: print(int('9'*(n%(2*m)))%998244353)