結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー ShotaroSuzu
提出日時 2020-05-19 17:16:25
言語 Java
(openjdk 23)
結果
AC  
実行時間 164 ms / 1,000 ms
コード長 432 bytes
コンパイル時間 2,407 ms
コンパイル使用メモリ 86,820 KB
実行使用メモリ 54,996 KB
最終ジャッジ日時 2024-10-01 22:53:16
合計ジャッジ時間 3,228 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2
権限があれば一括ダウンロードができます

ソースコード

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