結果

問題 No.337 P versus NP
ユーザー YukimotoPGYukimotoPG
提出日時 2019-02-14 08:09:35
言語 Java21
(openjdk 21)
結果
AC  
実行時間 126 ms / 2,000 ms
コード長 251 bytes
コンパイル時間 2,107 ms
コンパイル使用メモリ 71,664 KB
実行使用メモリ 56,340 KB
最終ジャッジ日時 2023-10-11 12:29:05
合計ジャッジ時間 6,001 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 120 ms
55,648 KB
testcase_01 AC 121 ms
56,072 KB
testcase_02 AC 122 ms
55,512 KB
testcase_03 AC 120 ms
56,340 KB
testcase_04 AC 122 ms
55,476 KB
testcase_05 AC 122 ms
56,176 KB
testcase_06 AC 123 ms
55,968 KB
testcase_07 AC 119 ms
55,664 KB
testcase_08 AC 123 ms
56,148 KB
testcase_09 AC 122 ms
56,004 KB
testcase_10 AC 120 ms
53,964 KB
testcase_11 AC 126 ms
56,004 KB
testcase_12 AC 119 ms
55,696 KB
testcase_13 AC 120 ms
56,072 KB
testcase_14 AC 120 ms
56,000 KB
testcase_15 AC 119 ms
55,716 KB
testcase_16 AC 123 ms
56,036 KB
testcase_17 AC 119 ms
56,088 KB
testcase_18 AC 119 ms
55,436 KB
testcase_19 AC 121 ms
55,644 KB
testcase_20 AC 122 ms
56,044 KB
testcase_21 AC 122 ms
56,040 KB
testcase_22 AC 120 ms
55,620 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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