結果
問題 | No.1249 小学校1年生の夢 |
ユーザー |
![]() |
提出日時 | 2020-10-09 23:06:51 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 125 ms / 2,000 ms |
コード長 | 367 bytes |
コンパイル時間 | 2,209 ms |
コンパイル使用メモリ | 74,840 KB |
実行使用メモリ | 41,376 KB |
最終ジャッジ日時 | 2024-07-20 14:00:56 |
合計ジャッジ時間 | 7,453 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 30 |
ソースコード
import java.util.*;import java.io.*;public class Main {public static void main(String[] args) {Scanner sc = new Scanner(System.in);PrintWriter ou = new PrintWriter(System.out);if(Integer.parseInt(sc.next()) + Integer.parseInt(sc.next()) == Integer.parseInt(sc.next())) ou.println("Correct");else ou.print("Incorrect");ou.flush();sc.close();}}