結果

問題 No.337 P versus NP
ユーザー TatsuDXTatsuDX
提出日時 2016-09-03 15:02:16
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 236 bytes
コンパイル時間 2,721 ms
コンパイル使用メモリ 74,268 KB
実行使用メモリ 56,272 KB
最終ジャッジ日時 2024-04-27 15:21:43
合計ジャッジ時間 6,102 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 103 ms
52,672 KB
testcase_03 AC 102 ms
52,876 KB
testcase_04 AC 116 ms
53,820 KB
testcase_05 AC 115 ms
53,996 KB
testcase_06 AC 116 ms
53,940 KB
testcase_07 AC 109 ms
52,852 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 115 ms
53,992 KB
testcase_11 WA -
testcase_12 AC 110 ms
52,896 KB
testcase_13 WA -
testcase_14 AC 108 ms
53,036 KB
testcase_15 AC 117 ms
53,868 KB
testcase_16 AC 116 ms
54,060 KB
testcase_17 AC 107 ms
53,680 KB
testcase_18 AC 101 ms
52,816 KB
testcase_19 AC 108 ms
53,000 KB
testcase_20 AC 107 ms
52,896 KB
testcase_21 WA -
testcase_22 AC 117 ms
53,792 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Test {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int p = sc.nextInt(), np = sc.nextInt();
		String s = p == np ? "=" : "!=";
		System.out.println(s);
	}
}
0