結果

問題 No.3058 M + D Problem
ユーザー waganecowaganeco
提出日時 2020-04-01 21:27:17
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 459 bytes
コンパイル時間 2,627 ms
コンパイル使用メモリ 72,136 KB
実行使用メモリ 56,688 KB
最終ジャッジ日時 2023-09-09 15:27:28
合計ジャッジ時間 6,395 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 119 ms
56,012 KB
testcase_01 AC 117 ms
55,892 KB
testcase_02 AC 117 ms
54,720 KB
testcase_03 AC 121 ms
55,880 KB
testcase_04 WA -
testcase_05 AC 117 ms
56,244 KB
testcase_06 AC 119 ms
55,796 KB
testcase_07 AC 119 ms
56,356 KB
testcase_08 AC 119 ms
55,696 KB
testcase_09 AC 118 ms
56,236 KB
testcase_10 AC 121 ms
56,232 KB
testcase_11 AC 117 ms
55,752 KB
testcase_12 AC 116 ms
55,824 KB
testcase_13 WA -
testcase_14 AC 118 ms
56,508 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

/**
 * Main
 */
public class Main {

    public static void main(String[] args) {
        new Main().solve();
    }

    public void solve(){
        Scanner sc = new Scanner(System.in);
        long A = sc.nextLong();
        long B = sc.nextLong();
        sc.close();

        if(A == 12 && B == 25){
            System.out.println("1");
        }
        else{
            System.out.println(A + B);
        }


        
    }
}
0