結果

問題 No.337 P versus NP
ユーザー YOSHIYOSHI
提出日時 2021-03-10 21:22:54
言語 Java21
(openjdk 21)
結果
AC  
実行時間 58 ms / 2,000 ms
コード長 479 bytes
コンパイル時間 3,342 ms
コンパイル使用メモリ 73,788 KB
実行使用メモリ 37,244 KB
最終ジャッジ日時 2024-04-20 15:28:09
合計ジャッジ時間 5,507 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 55 ms
37,056 KB
testcase_01 AC 54 ms
36,688 KB
testcase_02 AC 55 ms
36,836 KB
testcase_03 AC 55 ms
36,656 KB
testcase_04 AC 54 ms
36,876 KB
testcase_05 AC 55 ms
36,768 KB
testcase_06 AC 56 ms
37,052 KB
testcase_07 AC 54 ms
37,228 KB
testcase_08 AC 55 ms
36,648 KB
testcase_09 AC 56 ms
36,880 KB
testcase_10 AC 55 ms
37,244 KB
testcase_11 AC 55 ms
37,068 KB
testcase_12 AC 54 ms
36,928 KB
testcase_13 AC 55 ms
36,776 KB
testcase_14 AC 56 ms
37,096 KB
testcase_15 AC 55 ms
37,100 KB
testcase_16 AC 56 ms
36,964 KB
testcase_17 AC 54 ms
36,976 KB
testcase_18 AC 56 ms
36,904 KB
testcase_19 AC 56 ms
37,080 KB
testcase_20 AC 57 ms
36,628 KB
testcase_21 AC 58 ms
37,076 KB
testcase_22 AC 56 ms
36,904 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class No00000337_Main2 {
	static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	public static void main(String[] args) throws IOException {
		String[] arr = br.readLine().split(" ");
		int n = Integer.parseInt(arr[0]);
		int p = Integer.parseInt(arr[1]);
		if(n * p == p) {
			System.out.println("=");
		} else {
			System.out.println("!=");
		}
	}
}
0