結果

問題 No.337 P versus NP
ユーザー ちよちゃんちよちゃん
提出日時 2016-06-06 19:00:47
言語 Java21
(openjdk 21)
結果
AC  
実行時間 136 ms / 2,000 ms
コード長 329 bytes
コンパイル時間 3,219 ms
コンパイル使用メモリ 74,160 KB
実行使用メモリ 41,516 KB
最終ジャッジ日時 2024-04-17 05:18:48
合計ジャッジ時間 7,145 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 135 ms
41,340 KB
testcase_01 AC 121 ms
40,456 KB
testcase_02 AC 126 ms
40,900 KB
testcase_03 AC 132 ms
41,048 KB
testcase_04 AC 132 ms
41,516 KB
testcase_05 AC 133 ms
41,232 KB
testcase_06 AC 130 ms
41,388 KB
testcase_07 AC 135 ms
41,148 KB
testcase_08 AC 117 ms
39,688 KB
testcase_09 AC 130 ms
41,224 KB
testcase_10 AC 130 ms
41,368 KB
testcase_11 AC 135 ms
41,032 KB
testcase_12 AC 130 ms
41,228 KB
testcase_13 AC 128 ms
41,224 KB
testcase_14 AC 131 ms
41,256 KB
testcase_15 AC 130 ms
41,344 KB
testcase_16 AC 120 ms
40,140 KB
testcase_17 AC 134 ms
40,876 KB
testcase_18 AC 133 ms
41,236 KB
testcase_19 AC 133 ms
41,268 KB
testcase_20 AC 136 ms
41,196 KB
testcase_21 AC 119 ms
40,096 KB
testcase_22 AC 135 ms
41,084 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukicoder;

import java.util.Scanner;

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