結果

問題 No.1249 小学校1年生の夢
ユーザー planetWorldY
提出日時 2020-10-14 17:42:24
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 338 bytes
コンパイル時間 2,240 ms
コンパイル使用メモリ 75,072 KB
実行使用メモリ 41,528 KB
最終ジャッジ日時 2024-07-20 19:14:32
合計ジャッジ時間 7,715 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 13 WA * 17
権限があれば一括ダウンロードができます

ソースコード

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");  
        }
    
    }
}
0