結果
問題 | No.1656 Recuperation |
ユーザー |
![]() |
提出日時 | 2021-09-11 05:14:39 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 151 ms / 2,000 ms |
コード長 | 430 bytes |
コンパイル時間 | 1,893 ms |
コンパイル使用メモリ | 74,380 KB |
実行使用メモリ | 54,268 KB |
最終ジャッジ日時 | 2024-06-22 03:59:46 |
合計ジャッジ時間 | 3,070 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 3 |
ソースコード
import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! Scanner sc = new Scanner(System.in); int n = sc.nextInt(); for(int i = 0; i < n; i++){ int total = 0; int a = sc.nextInt(); int b = sc.nextInt(); int stress = a * b; System.out.println(b + stress); } } }