結果

問題 No.1656 Recuperation
ユーザー ygd.ygd.
提出日時 2021-08-29 10:02:44
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 50 ms / 2,000 ms
コード長 260 bytes
コンパイル時間 202 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 54,144 KB
最終ジャッジ日時 2024-05-01 21:15:15
合計ジャッジ時間 859 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 44 ms
53,632 KB
testcase_01 AC 43 ms
53,760 KB
testcase_02 AC 50 ms
54,016 KB
testcase_03 AC 46 ms
54,144 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline
import bisect
import copy
from heapq import heapify, heappop, heappush

def main():
  t = int(input())
  for _ in range(t):
    a,b = map(int,input().split())
    print(a*b+b)
       

if __name__ == "__main__":
    main()
0