結果

問題 No.337 P versus NP
ユーザー KSnitechKSnitech
提出日時 2017-10-17 15:14:32
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 345 bytes
コンパイル時間 3,385 ms
コンパイル使用メモリ 74,316 KB
実行使用メモリ 56,072 KB
最終ジャッジ日時 2024-04-29 00:15:31
合計ジャッジ時間 7,648 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 131 ms
41,092 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 134 ms
40,936 KB
testcase_04 WA -
testcase_05 AC 130 ms
41,144 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 132 ms
41,040 KB
testcase_11 WA -
testcase_12 AC 131 ms
41,004 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 134 ms
41,260 KB
testcase_16 AC 133 ms
41,068 KB
testcase_17 AC 134 ms
41,232 KB
testcase_18 AC 134 ms
41,064 KB
testcase_19 AC 134 ms
41,184 KB
testcase_20 AC 134 ms
41,324 KB
testcase_21 WA -
testcase_22 AC 132 ms
40,844 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class PvNP {
    public static void main(String[] args) {
        Scanner stdIn = new Scanner(System.in);
        int n = stdIn.nextInt();
        int p = stdIn.nextInt();


        if (n == n * p) {
            System.out.println("=");
        } else {
            System.out.println("!=");
        }

    }
}
0