結果

問題 No.337 P versus NP
ユーザー spacenautspacenaut
提出日時 2016-05-23 20:28:24
言語 Java21
(openjdk 21)
結果
AC  
実行時間 130 ms / 2,000 ms
コード長 255 bytes
コンパイル時間 2,196 ms
コンパイル使用メモリ 74,252 KB
実行使用メモリ 41,840 KB
最終ジャッジ日時 2024-04-16 09:28:48
合計ジャッジ時間 5,783 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 129 ms
41,172 KB
testcase_01 AC 129 ms
41,068 KB
testcase_02 AC 115 ms
40,108 KB
testcase_03 AC 129 ms
41,028 KB
testcase_04 AC 128 ms
41,548 KB
testcase_05 AC 127 ms
41,096 KB
testcase_06 AC 128 ms
41,448 KB
testcase_07 AC 130 ms
41,440 KB
testcase_08 AC 115 ms
41,328 KB
testcase_09 AC 128 ms
41,192 KB
testcase_10 AC 126 ms
41,456 KB
testcase_11 AC 127 ms
41,196 KB
testcase_12 AC 126 ms
41,392 KB
testcase_13 AC 114 ms
40,044 KB
testcase_14 AC 127 ms
41,364 KB
testcase_15 AC 115 ms
40,292 KB
testcase_16 AC 128 ms
41,136 KB
testcase_17 AC 129 ms
40,932 KB
testcase_18 AC 129 ms
41,232 KB
testcase_19 AC 115 ms
41,840 KB
testcase_20 AC 128 ms
41,332 KB
testcase_21 AC 127 ms
41,540 KB
testcase_22 AC 127 ms
41,532 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

class No0337{
	public static void main(String[] args){
		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