結果

問題 No.337 P versus NP
ユーザー kuramukuramu
提出日時 2016-02-11 10:50:10
言語 Java21
(openjdk 21)
結果
AC  
実行時間 57 ms / 2,000 ms
コード長 535 bytes
コンパイル時間 2,384 ms
コンパイル使用メモリ 74,564 KB
実行使用メモリ 53,416 KB
最終ジャッジ日時 2023-10-21 22:56:06
合計ジャッジ時間 4,626 ms
ジャッジサーバーID
(参考情報)
judge10 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 55 ms
53,404 KB
testcase_01 AC 56 ms
52,276 KB
testcase_02 AC 56 ms
52,284 KB
testcase_03 AC 55 ms
53,396 KB
testcase_04 AC 55 ms
53,392 KB
testcase_05 AC 56 ms
53,396 KB
testcase_06 AC 57 ms
53,392 KB
testcase_07 AC 55 ms
53,392 KB
testcase_08 AC 57 ms
52,344 KB
testcase_09 AC 56 ms
52,264 KB
testcase_10 AC 57 ms
53,400 KB
testcase_11 AC 55 ms
53,400 KB
testcase_12 AC 55 ms
53,404 KB
testcase_13 AC 56 ms
53,412 KB
testcase_14 AC 56 ms
53,340 KB
testcase_15 AC 56 ms
53,396 KB
testcase_16 AC 56 ms
53,412 KB
testcase_17 AC 56 ms
52,252 KB
testcase_18 AC 56 ms
53,396 KB
testcase_19 AC 55 ms
53,408 KB
testcase_20 AC 55 ms
53,416 KB
testcase_21 AC 55 ms
52,272 KB
testcase_22 AC 55 ms
53,396 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	 public static void main(String[] args) {
	      BufferedReader stdReader =new BufferedReader(new InputStreamReader(System.in));
	      try {
	    	  String[] line = stdReader.readLine().split(" ");
	    	  if(line[0].equals("1") || line[1].equals("0")){
	    		  System.out.println("=");
	    	  }else{
	    		  System.out.println("!=");
	    	  }
	      } catch (IOException e) {
			e.printStackTrace();
	      }
	}
}
0