結果

問題 No.337 P versus NP
ユーザー FVRChanFVRChan
提出日時 2017-10-03 00:15:03
言語 Java19
(openjdk 21)
結果
AC  
実行時間 123 ms / 2,000 ms
コード長 266 bytes
コンパイル時間 2,054 ms
コンパイル使用メモリ 71,608 KB
実行使用メモリ 56,404 KB
最終ジャッジ日時 2023-08-10 00:14:39
合計ジャッジ時間 6,111 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 122 ms
55,952 KB
testcase_01 AC 119 ms
55,552 KB
testcase_02 AC 118 ms
55,476 KB
testcase_03 AC 120 ms
55,580 KB
testcase_04 AC 119 ms
55,684 KB
testcase_05 AC 120 ms
55,840 KB
testcase_06 AC 119 ms
55,780 KB
testcase_07 AC 118 ms
55,384 KB
testcase_08 AC 121 ms
56,024 KB
testcase_09 AC 119 ms
55,756 KB
testcase_10 AC 119 ms
56,404 KB
testcase_11 AC 120 ms
55,468 KB
testcase_12 AC 119 ms
55,684 KB
testcase_13 AC 120 ms
55,492 KB
testcase_14 AC 120 ms
55,704 KB
testcase_15 AC 120 ms
55,472 KB
testcase_16 AC 120 ms
55,744 KB
testcase_17 AC 121 ms
55,936 KB
testcase_18 AC 120 ms
55,652 KB
testcase_19 AC 119 ms
55,788 KB
testcase_20 AC 121 ms
55,564 KB
testcase_21 AC 123 ms
55,580 KB
testcase_22 AC 122 ms
55,680 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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