結果

問題 No.337 P versus NP
ユーザー キョウチクキョウチク
提出日時 2022-06-01 13:22:40
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 438 bytes
コンパイル時間 1,858 ms
コンパイル使用メモリ 74,320 KB
実行使用メモリ 57,648 KB
最終ジャッジ日時 2023-10-21 00:48:00
合計ジャッジ時間 5,543 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 116 ms
57,448 KB
testcase_01 WA -
testcase_02 AC 119 ms
57,500 KB
testcase_03 AC 117 ms
57,188 KB
testcase_04 AC 117 ms
57,404 KB
testcase_05 WA -
testcase_06 AC 119 ms
57,172 KB
testcase_07 AC 109 ms
56,244 KB
testcase_08 AC 119 ms
57,444 KB
testcase_09 AC 117 ms
57,208 KB
testcase_10 AC 121 ms
57,472 KB
testcase_11 AC 121 ms
57,588 KB
testcase_12 AC 125 ms
57,432 KB
testcase_13 WA -
testcase_14 AC 116 ms
57,568 KB
testcase_15 AC 115 ms
57,504 KB
testcase_16 AC 117 ms
57,544 KB
testcase_17 AC 115 ms
57,548 KB
testcase_18 AC 116 ms
57,536 KB
testcase_19 AC 115 ms
57,416 KB
testcase_20 AC 119 ms
57,188 KB
testcase_21 AC 117 ms
57,208 KB
testcase_22 AC 134 ms
57,444 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc=new Scanner(System.in);
        String[] line;
        String result="";
        line=sc.nextLine().split(" ");
        int n=Integer.parseInt(line[0]);
        if(n==1){
            result="=";
        }else{
            result="!=";
        }
        System.out.println(result);
    }
}
0