結果
問題 | No.1656 Recuperation |
ユーザー | ks2m |
提出日時 | 2021-08-27 21:23:11 |
言語 | Java19 (openjdk 21) |
結果 |
AC
|
実行時間 | 147 ms / 2,000 ms |
コード長 | 309 bytes |
コンパイル時間 | 4,954 ms |
コンパイル使用メモリ | 71,228 KB |
実行使用メモリ | 56,248 KB |
最終ジャッジ日時 | 2023-08-13 07:46:30 |
合計ジャッジ時間 | 3,606 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge14 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 119 ms
56,248 KB |
testcase_01 | AC | 122 ms
53,632 KB |
testcase_02 | AC | 147 ms
56,172 KB |
testcase_03 | AC | 142 ms
56,112 KB |
ソースコード
import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int t = sc.nextInt(); for (int z = 0; z < t; z++) { int a = sc.nextInt(); int b = sc.nextInt(); System.out.println(a * b + b); } sc.close(); } }