結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー kohaku_kohakukohaku_kohaku
提出日時 2016-11-09 20:02:05
言語 Java21
(openjdk 21)
結果
AC  
実行時間 175 ms / 1,000 ms
コード長 297 bytes
コンパイル時間 2,673 ms
コンパイル使用メモリ 76,096 KB
実行使用メモリ 42,256 KB
最終ジャッジ日時 2024-05-04 00:20:41
合計ジャッジ時間 3,557 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = a+b;
        String s = sc.next();
        System.out.println( c + " " + s);
    }
}
0