結果

問題 No.1249 小学校1年生の夢
ユーザー planetWorldYplanetWorldY
提出日時 2020-10-14 17:55:29
言語 Java19
(openjdk 21)
結果
AC  
実行時間 112 ms / 2,000 ms
コード長 398 bytes
コンパイル時間 1,791 ms
コンパイル使用メモリ 71,348 KB
実行使用メモリ 56,480 KB
最終ジャッジ日時 2023-09-28 00:42:58
合計ジャッジ時間 6,318 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 107 ms
55,984 KB
testcase_01 AC 104 ms
55,616 KB
testcase_02 AC 105 ms
56,040 KB
testcase_03 AC 105 ms
55,824 KB
testcase_04 AC 109 ms
55,668 KB
testcase_05 AC 106 ms
55,704 KB
testcase_06 AC 102 ms
55,872 KB
testcase_07 AC 109 ms
55,968 KB
testcase_08 AC 104 ms
56,248 KB
testcase_09 AC 106 ms
55,616 KB
testcase_10 AC 104 ms
55,856 KB
testcase_11 AC 107 ms
55,620 KB
testcase_12 AC 103 ms
56,308 KB
testcase_13 AC 105 ms
56,340 KB
testcase_14 AC 105 ms
56,144 KB
testcase_15 AC 109 ms
56,068 KB
testcase_16 AC 107 ms
55,900 KB
testcase_17 AC 104 ms
53,576 KB
testcase_18 AC 107 ms
55,632 KB
testcase_19 AC 105 ms
56,296 KB
testcase_20 AC 110 ms
56,148 KB
testcase_21 AC 108 ms
55,464 KB
testcase_22 AC 112 ms
55,628 KB
testcase_23 AC 110 ms
55,824 KB
testcase_24 AC 103 ms
56,044 KB
testcase_25 AC 105 ms
55,612 KB
testcase_26 AC 105 ms
55,968 KB
testcase_27 AC 108 ms
56,480 KB
testcase_28 AC 105 ms
55,980 KB
testcase_29 AC 103 ms
56,164 KB
testcase_30 AC 107 ms
55,924 KB
testcase_31 AC 107 ms
55,964 KB
testcase_32 AC 104 ms
56,308 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    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();
        
        if(A + B == C){
           System.out.println("Correct");  
        }else{
            System.out.println("Incorrect");
        }
    
    }
}
0