結果

問題 No.2699 Simple Math (Returned)
ユーザー moon17moon17
提出日時 2024-03-29 23:25:22
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 141 bytes
コンパイル時間 263 ms
コンパイル使用メモリ 81,572 KB
実行使用メモリ 843,528 KB
最終ジャッジ日時 2024-03-29 23:25:25
合計ジャッジ時間 3,054 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

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)
0