結果

問題 No.337 P versus NP
ユーザー ぴろずぴろず
提出日時 2016-01-29 22:20:49
言語 Java19
(openjdk 21)
結果
AC  
実行時間 151 ms / 2,000 ms
コード長 246 bytes
コンパイル時間 2,268 ms
コンパイル使用メモリ 74,272 KB
実行使用メモリ 57,608 KB
最終ジャッジ日時 2023-10-21 16:38:14
合計ジャッジ時間 6,549 ms
ジャッジサーバーID
(参考情報)
judge9 / judge10
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 140 ms
57,108 KB
testcase_01 AC 140 ms
57,344 KB
testcase_02 AC 139 ms
57,372 KB
testcase_03 AC 141 ms
57,084 KB
testcase_04 AC 140 ms
57,304 KB
testcase_05 AC 143 ms
57,416 KB
testcase_06 AC 141 ms
57,308 KB
testcase_07 AC 149 ms
57,092 KB
testcase_08 AC 148 ms
57,608 KB
testcase_09 AC 151 ms
57,128 KB
testcase_10 AC 144 ms
57,088 KB
testcase_11 AC 143 ms
57,076 KB
testcase_12 AC 142 ms
57,100 KB
testcase_13 AC 142 ms
57,352 KB
testcase_14 AC 143 ms
57,128 KB
testcase_15 AC 143 ms
57,108 KB
testcase_16 AC 143 ms
57,120 KB
testcase_17 AC 146 ms
57,128 KB
testcase_18 AC 146 ms
57,128 KB
testcase_19 AC 141 ms
57,140 KB
testcase_20 AC 144 ms
57,604 KB
testcase_21 AC 141 ms
57,356 KB
testcase_22 AC 140 ms
57,308 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package no337;

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int p = sc.nextInt();
		System.out.println(p == n * p ? "=" : "!=");
	}

}
0