結果

問題 No.337 P versus NP
ユーザー yun_appyun_app
提出日時 2016-05-09 14:47:45
言語 Java21
(openjdk 21)
結果
AC  
実行時間 58 ms / 2,000 ms
コード長 576 bytes
コンパイル時間 2,271 ms
コンパイル使用メモリ 74,480 KB
実行使用メモリ 37,232 KB
最終ジャッジ日時 2024-04-15 14:55:28
合計ジャッジ時間 4,405 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 56 ms
36,896 KB
testcase_01 AC 55 ms
36,872 KB
testcase_02 AC 55 ms
36,880 KB
testcase_03 AC 55 ms
36,912 KB
testcase_04 AC 56 ms
36,860 KB
testcase_05 AC 55 ms
37,164 KB
testcase_06 AC 55 ms
36,956 KB
testcase_07 AC 55 ms
36,700 KB
testcase_08 AC 55 ms
37,044 KB
testcase_09 AC 55 ms
36,872 KB
testcase_10 AC 55 ms
36,900 KB
testcase_11 AC 55 ms
37,232 KB
testcase_12 AC 56 ms
36,636 KB
testcase_13 AC 56 ms
37,188 KB
testcase_14 AC 58 ms
36,988 KB
testcase_15 AC 54 ms
37,164 KB
testcase_16 AC 54 ms
36,872 KB
testcase_17 AC 54 ms
37,100 KB
testcase_18 AC 54 ms
37,144 KB
testcase_19 AC 55 ms
37,120 KB
testcase_20 AC 55 ms
37,136 KB
testcase_21 AC 55 ms
37,016 KB
testcase_22 AC 54 ms
37,016 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
    public static void main (String[] args) throws java.lang.Exception
    {
        // your code goes here
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] line = br.readLine().split(" ");
        int N = Integer.parseInt(line[0]);
        int P = Integer.parseInt(line[1]);
        System.out.println(N*P==P?"=":"!=");
    }
}
0