結果

問題 No.3058 M + D Problem
ユーザー takutakutakutaku
提出日時 2020-09-23 13:17:21
言語 Java21
(openjdk 21)
結果
AC  
実行時間 127 ms / 2,000 ms
コード長 418 bytes
コンパイル時間 2,203 ms
コンパイル使用メモリ 71,612 KB
実行使用メモリ 56,148 KB
最終ジャッジ日時 2023-09-10 06:57:10
合計ジャッジ時間 6,276 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
55,856 KB
testcase_01 AC 126 ms
55,848 KB
testcase_02 AC 126 ms
55,904 KB
testcase_03 AC 125 ms
55,740 KB
testcase_04 AC 126 ms
55,864 KB
testcase_05 AC 124 ms
55,840 KB
testcase_06 AC 124 ms
55,584 KB
testcase_07 AC 124 ms
55,772 KB
testcase_08 AC 125 ms
55,852 KB
testcase_09 AC 125 ms
56,148 KB
testcase_10 AC 126 ms
55,680 KB
testcase_11 AC 125 ms
55,860 KB
testcase_12 AC 127 ms
55,684 KB
testcase_13 AC 125 ms
55,852 KB
testcase_14 AC 127 ms
55,476 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
	public static void main(String[] args) {
	    
	    // 標準入力を受け取る
	    Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int m = sc.nextInt();
        
        if(n == 4 && m == 1) {
            System.out.println("April Fools");
        }else {
            
            System.out.println(n + m);
        
        }
        
    }
}
0