結果

問題 No.1249 小学校1年生の夢
ユーザー xRS43BofaUEZ5gcxRS43BofaUEZ5gc
提出日時 2021-03-03 09:01:47
言語 Java21
(openjdk 21)
結果
AC  
実行時間 152 ms / 2,000 ms
コード長 319 bytes
コンパイル時間 3,345 ms
コンパイル使用メモリ 74,500 KB
実行使用メモリ 54,656 KB
最終ジャッジ日時 2024-04-14 05:51:22
合計ジャッジ時間 9,185 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 132 ms
54,208 KB
testcase_01 AC 134 ms
53,848 KB
testcase_02 AC 135 ms
54,348 KB
testcase_03 AC 136 ms
54,140 KB
testcase_04 AC 137 ms
54,376 KB
testcase_05 AC 130 ms
54,352 KB
testcase_06 AC 133 ms
54,420 KB
testcase_07 AC 130 ms
54,216 KB
testcase_08 AC 134 ms
54,292 KB
testcase_09 AC 132 ms
53,984 KB
testcase_10 AC 132 ms
54,240 KB
testcase_11 AC 132 ms
54,240 KB
testcase_12 AC 131 ms
54,176 KB
testcase_13 AC 137 ms
54,416 KB
testcase_14 AC 133 ms
54,160 KB
testcase_15 AC 138 ms
54,280 KB
testcase_16 AC 152 ms
53,984 KB
testcase_17 AC 139 ms
54,172 KB
testcase_18 AC 121 ms
53,012 KB
testcase_19 AC 134 ms
54,088 KB
testcase_20 AC 133 ms
54,252 KB
testcase_21 AC 132 ms
53,888 KB
testcase_22 AC 129 ms
53,888 KB
testcase_23 AC 131 ms
54,100 KB
testcase_24 AC 133 ms
54,212 KB
testcase_25 AC 130 ms
54,656 KB
testcase_26 AC 134 ms
54,012 KB
testcase_27 AC 132 ms
54,280 KB
testcase_28 AC 130 ms
54,424 KB
testcase_29 AC 132 ms
54,344 KB
testcase_30 AC 130 ms
54,148 KB
testcase_31 AC 131 ms
54,276 KB
testcase_32 AC 132 ms
54,252 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class HelloWorld {

	    public static void main(String[] args) throws Exception {

	    	Scanner sc = new Scanner(System.in);
	    	int a = sc.nextInt();
	    	int b = sc.nextInt();
	    	int c = sc.nextInt();

	    	System.out.println(a + b == c ? "Correct":"Incorrect");
	    	}

}
0