結果

問題 No.3058 M + D Problem
ユーザー konataro15konataro15
提出日時 2020-04-01 23:40:20
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 2,000 ms
コード長 238 bytes
コンパイル時間 2,152 ms
コンパイル使用メモリ 71,396 KB
実行使用メモリ 56,268 KB
最終ジャッジ日時 2023-09-09 20:19:26
合計ジャッジ時間 6,611 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 122 ms
55,372 KB
testcase_01 AC 120 ms
56,224 KB
testcase_02 AC 121 ms
55,648 KB
testcase_03 AC 125 ms
55,520 KB
testcase_04 AC 118 ms
55,604 KB
testcase_05 AC 120 ms
55,576 KB
testcase_06 AC 120 ms
55,836 KB
testcase_07 AC 119 ms
55,568 KB
testcase_08 AC 122 ms
55,904 KB
testcase_09 AC 119 ms
55,340 KB
testcase_10 AC 117 ms
55,744 KB
testcase_11 AC 119 ms
56,128 KB
testcase_12 AC 119 ms
56,268 KB
testcase_13 AC 120 ms
55,888 KB
testcase_14 AC 117 ms
55,844 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
        int b = sc.nextInt();
        if(a==4 && b==1){}
		else{System.out.println(a+b);}
	}
}
0