結果
| 問題 |
No.2699 Simple Math (Returned)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-03-29 23:25:22 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 141 bytes |
| コンパイル時間 | 285 ms |
| コンパイル使用メモリ | 82,360 KB |
| 実行使用メモリ | 844,152 KB |
| 最終ジャッジ日時 | 2024-09-30 16:55:32 |
| 合計ジャッジ時間 | 2,937 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | WA * 1 MLE * 1 -- * 9 |
ソースコード
t=int(input())
M=998244353
for _ in range(t):
n,m=map(int,input().split())
ans=n%m
if ans==0:
print(ans)
else:
print('9'*ans)