結果

問題 No.337 P versus NP
ユーザー TwinkleStar74TwinkleStar74
提出日時 2017-10-24 16:05:55
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 448 bytes
コンパイル時間 3,194 ms
コンパイル使用メモリ 74,408 KB
実行使用メモリ 50,404 KB
最終ジャッジ日時 2024-05-01 13:07:00
合計ジャッジ時間 5,268 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 52 ms
50,292 KB
testcase_01 AC 53 ms
50,080 KB
testcase_02 AC 55 ms
50,004 KB
testcase_03 AC 51 ms
49,828 KB
testcase_04 WA -
testcase_05 AC 52 ms
50,172 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 53 ms
49,928 KB
testcase_09 AC 54 ms
50,200 KB
testcase_10 AC 53 ms
50,196 KB
testcase_11 AC 53 ms
50,180 KB
testcase_12 AC 53 ms
49,812 KB
testcase_13 AC 54 ms
50,272 KB
testcase_14 AC 54 ms
50,076 KB
testcase_15 AC 53 ms
50,176 KB
testcase_16 AC 54 ms
50,308 KB
testcase_17 AC 51 ms
50,248 KB
testcase_18 AC 52 ms
50,048 KB
testcase_19 AC 53 ms
49,924 KB
testcase_20 AC 52 ms
50,176 KB
testcase_21 AC 52 ms
50,164 KB
testcase_22 AC 52 ms
50,176 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.*;

public class Program{
    public static void main(String[] args) throws IOException{
        String[] str = new BufferedReader(new InputStreamReader(System.in)).readLine().split(" ");
        int[] input= new int[2];
        for(int i=0; i < 2; i++)
            input[i] = Integer.parseInt(str[i]);
        if(input[0] == 0 || input[0] == 1|| input[1] == 0) System.out.println("=");
        else System.out.println("!=");
    }
}
0