結果

問題 No.353 ヘイトプラス
ユーザー GoyotanGoyotan
提出日時 2016-07-18 17:16:05
言語 Java21
(openjdk 21)
結果
AC  
実行時間 117 ms / 1,000 ms
コード長 391 bytes
コンパイル時間 3,113 ms
コンパイル使用メモリ 72,108 KB
実行使用メモリ 56,836 KB
最終ジャッジ日時 2023-09-16 23:43:31
合計ジャッジ時間 4,679 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 111 ms
56,252 KB
testcase_01 AC 117 ms
55,504 KB
testcase_02 AC 115 ms
56,044 KB
testcase_03 AC 115 ms
56,172 KB
testcase_04 AC 111 ms
55,632 KB
testcase_05 AC 110 ms
56,012 KB
testcase_06 AC 112 ms
56,000 KB
testcase_07 AC 110 ms
56,112 KB
testcase_08 AC 110 ms
56,836 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
import java.util.stream.IntStream;

public class Study04 {
	
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String a = sc.nextLine();
		String [] q = a.split(" ");
		int[] zzz = new int[2];
		zzz[0] = Integer.parseInt(q[0]);
		zzz[1] = Integer.parseInt(q[1]);
		int sum = IntStream.of(zzz).sum();
		System.out.println(sum);
	}

}
0