結果

問題 No.337 P versus NP
ユーザー mizunomi32mizunomi32
提出日時 2016-02-28 22:59:06
言語 Java21
(openjdk 21)
結果
AC  
実行時間 132 ms / 2,000 ms
コード長 324 bytes
コンパイル時間 3,059 ms
コンパイル使用メモリ 75,320 KB
実行使用メモリ 57,648 KB
最終ジャッジ日時 2023-10-24 18:55:46
合計ジャッジ時間 6,756 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
57,456 KB
testcase_01 AC 121 ms
57,568 KB
testcase_02 AC 111 ms
56,200 KB
testcase_03 AC 113 ms
56,256 KB
testcase_04 AC 122 ms
57,200 KB
testcase_05 AC 123 ms
57,232 KB
testcase_06 AC 125 ms
57,452 KB
testcase_07 AC 126 ms
57,516 KB
testcase_08 AC 125 ms
57,648 KB
testcase_09 AC 128 ms
57,392 KB
testcase_10 AC 132 ms
57,452 KB
testcase_11 AC 114 ms
56,272 KB
testcase_12 AC 121 ms
57,448 KB
testcase_13 AC 121 ms
57,488 KB
testcase_14 AC 121 ms
57,536 KB
testcase_15 AC 121 ms
57,456 KB
testcase_16 AC 128 ms
57,428 KB
testcase_17 AC 131 ms
57,408 KB
testcase_18 AC 128 ms
57,464 KB
testcase_19 AC 126 ms
57,464 KB
testcase_20 AC 121 ms
57,400 KB
testcase_21 AC 123 ms
57,020 KB
testcase_22 AC 125 ms
57,488 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

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