結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー yoshitaka7144yoshitaka7144
提出日時 2016-08-26 16:10:54
言語 Java21
(openjdk 21)
結果
AC  
実行時間 144 ms / 1,000 ms
コード長 417 bytes
コンパイル時間 1,919 ms
コンパイル使用メモリ 76,344 KB
実行使用メモリ 54,920 KB
最終ジャッジ日時 2024-04-25 17:01:33
合計ジャッジ時間 2,838 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
	
	    // int 1つ分を読み込む
	    int a = sc.nextInt();
	
	    // int 1つ分を読み込む
	    int b = sc.nextInt();
	
	    // String 1つ分を読み込む
	    String s = sc.next();
	
	    // 標準出力に書き出す。
	    System.out.println((a + b) + " " + s);
	}
}
0