結果

問題 No.1656 Recuperation
ユーザー みーすけ
提出日時 2021-10-01 08:06:43
言語 Java
(openjdk 23)
結果
AC  
実行時間 139 ms / 2,000 ms
コード長 320 bytes
コンパイル時間 1,781 ms
コンパイル使用メモリ 73,968 KB
実行使用メモリ 41,644 KB
最終ジャッジ日時 2024-07-18 13:26:05
合計ジャッジ時間 2,758 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int t = sc.nextInt();
        for (int i = 0; i < t; i++) {
            int a = sc.nextInt();
            int b = sc.nextInt();
            System.out.println(a * b + b);
        }
    }
}
0