結果

問題 No.337 P versus NP
ユーザー fal_rndfal_rnd
提出日時 2016-11-04 21:28:08
言語 Java21
(openjdk 21)
結果
AC  
実行時間 117 ms / 2,000 ms
コード長 270 bytes
コンパイル時間 2,485 ms
コンパイル使用メモリ 71,384 KB
実行使用メモリ 56,268 KB
最終ジャッジ日時 2023-08-16 13:47:19
合計ジャッジ時間 6,226 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 114 ms
55,780 KB
testcase_01 AC 114 ms
56,072 KB
testcase_02 AC 113 ms
55,868 KB
testcase_03 AC 113 ms
56,100 KB
testcase_04 AC 115 ms
55,696 KB
testcase_05 AC 115 ms
55,972 KB
testcase_06 AC 114 ms
54,168 KB
testcase_07 AC 114 ms
56,264 KB
testcase_08 AC 114 ms
56,188 KB
testcase_09 AC 114 ms
55,496 KB
testcase_10 AC 115 ms
55,708 KB
testcase_11 AC 114 ms
56,100 KB
testcase_12 AC 116 ms
56,096 KB
testcase_13 AC 114 ms
55,448 KB
testcase_14 AC 114 ms
55,756 KB
testcase_15 AC 114 ms
56,072 KB
testcase_16 AC 115 ms
55,896 KB
testcase_17 AC 115 ms
55,980 KB
testcase_18 AC 115 ms
55,712 KB
testcase_19 AC 117 ms
55,740 KB
testcase_20 AC 115 ms
55,652 KB
testcase_21 AC 117 ms
55,764 KB
testcase_22 AC 113 ms
56,268 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
class A {
	static Scanner s = new Scanner(System.in);

	public static void main(String[] args) {
		int n=Integer.parseInt(s.next()),p=Integer.parseInt(s.next());
		if(p==n*p){
			System.out.println("=");
		}else{
			System.out.println("!=");
		}
	}
}
0