結果

問題 No.337 P versus NP
ユーザー aim_cpoaim_cpo
提出日時 2019-04-18 16:07:56
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 338 bytes
コンパイル時間 4,369 ms
コンパイル使用メモリ 77,236 KB
実行使用メモリ 57,732 KB
最終ジャッジ日時 2023-10-22 08:17:33
合計ジャッジ時間 8,814 ms
ジャッジサーバーID
(参考情報)
judge9 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 137 ms
57,448 KB
testcase_01 WA -
testcase_02 AC 140 ms
57,608 KB
testcase_03 AC 140 ms
57,696 KB
testcase_04 AC 141 ms
57,184 KB
testcase_05 WA -
testcase_06 AC 138 ms
57,200 KB
testcase_07 AC 138 ms
57,448 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 140 ms
57,488 KB
testcase_13 WA -
testcase_14 AC 139 ms
57,456 KB
testcase_15 AC 139 ms
57,700 KB
testcase_16 AC 136 ms
57,476 KB
testcase_17 AC 137 ms
57,184 KB
testcase_18 AC 139 ms
57,612 KB
testcase_19 AC 138 ms
57,468 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 AC 137 ms
57,220 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class TaskI {
    public static void main(String[] args) {
        Scanner cin = new Scanner(System.in);
        int n = cin.nextInt();
        int p = cin.nextInt();
        if (p != n * p) {
            System.out.println("!=");
        } else {
            System.out.println("==");
        }
    }
}
0