結果
| 問題 | No.2699 Simple Math (Returned) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-03-29 23:25:22 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 141 bytes |
| 記録 | |
| コンパイル時間 | 533 ms |
| コンパイル使用メモリ | 85,068 KB |
| 実行使用メモリ | 1,311,816 KB |
| 最終ジャッジ日時 | 2026-04-16 19:23:00 |
| 合計ジャッジ時間 | 8,608 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 1 WA * 3 MLE * 2 OLE * 2 -- * 3 |
ソースコード
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)