結果
| 問題 |
No.1249 小学校1年生の夢
|
| コンテスト | |
| ユーザー |
tenten
|
| 提出日時 | 2020-10-10 06:02:57 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 134 ms / 2,000 ms |
| コード長 | 272 bytes |
| コンパイル時間 | 3,132 ms |
| コンパイル使用メモリ | 74,216 KB |
| 実行使用メモリ | 41,520 KB |
| 最終ジャッジ日時 | 2024-07-20 15:35:03 |
| 合計ジャッジ時間 | 8,135 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 30 |
ソースコード
import java.util.*;
public class Main {
public static void main (String[] args) {
Scanner sc = new Scanner(System.in);
if (sc.nextInt() + sc.nextInt() == sc.nextInt()) {
System.out.println("Correct");
} else {
System.out.println("Incorrect");
}
}
}
tenten