結果

問題 No.337 P versus NP
ユーザー TwinkleStar74TwinkleStar74
提出日時 2017-10-24 16:08:27
言語 Java21
(openjdk 21)
結果
AC  
実行時間 44 ms / 2,000 ms
コード長 431 bytes
コンパイル時間 3,369 ms
コンパイル使用メモリ 71,828 KB
実行使用メモリ 51,448 KB
最終ジャッジ日時 2023-08-13 23:31:24
合計ジャッジ時間 5,154 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 43 ms
49,756 KB
testcase_01 AC 42 ms
49,152 KB
testcase_02 AC 43 ms
49,492 KB
testcase_03 AC 43 ms
49,308 KB
testcase_04 AC 42 ms
49,148 KB
testcase_05 AC 42 ms
49,708 KB
testcase_06 AC 42 ms
49,284 KB
testcase_07 AC 41 ms
49,464 KB
testcase_08 AC 44 ms
49,500 KB
testcase_09 AC 42 ms
49,288 KB
testcase_10 AC 43 ms
49,344 KB
testcase_11 AC 42 ms
49,324 KB
testcase_12 AC 42 ms
49,348 KB
testcase_13 AC 43 ms
49,784 KB
testcase_14 AC 42 ms
49,260 KB
testcase_15 AC 42 ms
49,328 KB
testcase_16 AC 42 ms
47,284 KB
testcase_17 AC 42 ms
49,324 KB
testcase_18 AC 42 ms
49,348 KB
testcase_19 AC 42 ms
49,292 KB
testcase_20 AC 42 ms
51,448 KB
testcase_21 AC 42 ms
49,288 KB
testcase_22 AC 42 ms
49,556 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] == 1|| input[1] == 0) System.out.println("=");
        else System.out.println("!=");
    }
}
0