結果

問題 No.1656 Recuperation
ユーザー π
提出日時 2021-08-27 21:23:37
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 180 bytes
コンパイル時間 394 ms
コンパイル使用メモリ 31,104 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-21 00:42:24
合計ジャッジ時間 592 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <cstdio>

int main() {
  int n;
  std::scanf("%d", &n);
  for(int i = n; i--;) {
    int a, b;
    std::scanf("%d%d", &a, &b);
    std::printf("%d\n", (a + 1) * b);
  }
}
0