結果
| 問題 |
No.2699 Simple Math (Returned)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-03-29 21:21:35 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
MLE
|
| 実行時間 | - |
| コード長 | 131 bytes |
| コンパイル時間 | 553 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 816,352 KB |
| 最終ジャッジ日時 | 2024-09-30 15:32:59 |
| 合計ジャッジ時間 | 10,330 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 2 RE * 3 MLE * 6 |
ソースコード
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)