結果

問題 No.337 P versus NP
ユーザー Natsume-MNatsume-M
提出日時 2016-11-28 19:29:32
言語 Java21
(openjdk 21)
結果
AC  
実行時間 127 ms / 2,000 ms
コード長 199 bytes
コンパイル時間 4,162 ms
コンパイル使用メモリ 71,260 KB
実行使用メモリ 57,812 KB
最終ジャッジ日時 2023-08-18 08:52:16
合計ジャッジ時間 6,428 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 122 ms
55,988 KB
testcase_01 AC 122 ms
55,756 KB
testcase_02 AC 124 ms
55,700 KB
testcase_03 AC 124 ms
56,052 KB
testcase_04 AC 125 ms
56,052 KB
testcase_05 AC 124 ms
55,716 KB
testcase_06 AC 123 ms
55,668 KB
testcase_07 AC 122 ms
55,728 KB
testcase_08 AC 126 ms
55,700 KB
testcase_09 AC 124 ms
56,100 KB
testcase_10 AC 122 ms
56,120 KB
testcase_11 AC 122 ms
57,812 KB
testcase_12 AC 120 ms
55,692 KB
testcase_13 AC 125 ms
55,728 KB
testcase_14 AC 127 ms
55,780 KB
testcase_15 AC 125 ms
55,856 KB
testcase_16 AC 124 ms
55,576 KB
testcase_17 AC 123 ms
56,032 KB
testcase_18 AC 126 ms
55,808 KB
testcase_19 AC 127 ms
55,728 KB
testcase_20 AC 123 ms
56,156 KB
testcase_21 AC 126 ms
55,940 KB
testcase_22 AC 126 ms
55,732 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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