結果

問題 No.1656 Recuperation
ユーザー harurunharurun
提出日時 2021-08-02 19:24:18
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 146 ms / 2,000 ms
コード長 203 bytes
コンパイル時間 165 ms
コンパイル使用メモリ 82,172 KB
実行使用メモリ 59,136 KB
最終ジャッジ日時 2024-11-21 00:15:12
合計ジャッジ時間 1,311 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

from time import sleep
from sys import stdin
pin=stdin.readline
t=int(pin())
for _ in[0]*t:
  a,b=map(int,pin().split())
  now=0
  ans=0
  for _ in[0]*b:
    now+=a
    ans+=1
  print(now+ans)
sleep(0.1)
0