結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー ShotaroSuzuShotaroSuzu
提出日時 2020-05-19 17:16:25
言語 Java21
(openjdk 21)
結果
AC  
実行時間 129 ms / 1,000 ms
コード長 432 bytes
コンパイル時間 1,905 ms
コンパイル使用メモリ 80,828 KB
実行使用メモリ 54,928 KB
最終ジャッジ日時 2024-04-09 22:18:41
合計ジャッジ時間 2,519 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 129 ms
54,928 KB
testcase_01 AC 119 ms
54,616 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukicoder.tutorial.sysio;

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		new Main().execute();
	}

	private void execute() {
		@SuppressWarnings("resource")
		Scanner sc = new Scanner(System.in);
		Long firstNum = sc.nextLong();
		Long secondNum = sc.nextLong();
		String string = sc.next();
		
		Long sum = firstNum + secondNum;
		System.out.println(sum + " " + string);
	}

}
0