結果

問題 No.337 P versus NP
ユーザー spaciaspacia
提出日時 2016-01-29 22:38:58
言語 Java21
(openjdk 21)
結果
AC  
実行時間 142 ms / 2,000 ms
コード長 453 bytes
コンパイル時間 2,799 ms
コンパイル使用メモリ 74,020 KB
実行使用メモリ 57,512 KB
最終ジャッジ日時 2023-10-21 17:06:54
合計ジャッジ時間 6,785 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 134 ms
54,868 KB
testcase_01 AC 134 ms
56,920 KB
testcase_02 AC 133 ms
57,288 KB
testcase_03 AC 132 ms
56,988 KB
testcase_04 AC 136 ms
57,092 KB
testcase_05 AC 133 ms
57,308 KB
testcase_06 AC 135 ms
57,280 KB
testcase_07 AC 132 ms
57,336 KB
testcase_08 AC 133 ms
57,320 KB
testcase_09 AC 135 ms
57,512 KB
testcase_10 AC 134 ms
57,060 KB
testcase_11 AC 134 ms
57,456 KB
testcase_12 AC 134 ms
57,288 KB
testcase_13 AC 134 ms
56,916 KB
testcase_14 AC 133 ms
56,904 KB
testcase_15 AC 133 ms
57,332 KB
testcase_16 AC 132 ms
57,436 KB
testcase_17 AC 131 ms
57,340 KB
testcase_18 AC 135 ms
57,060 KB
testcase_19 AC 142 ms
57,304 KB
testcase_20 AC 135 ms
57,020 KB
testcase_21 AC 134 ms
57,312 KB
testcase_22 AC 135 ms
56,920 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

class Main {
    
    public static void main (String[] args) throws IOException {
        Scanner sc = new Scanner(System.in);
        
        int n = sc.nextInt();
        int p = sc.nextInt();
        
        joutl(p == n * p ? "=" : "!=");
    }

    public static void jout (Object o) {
        System.out.print(o);
    }
    
    public static void joutl (Object o) {
        System.out.println(o);
    }
}
0