結果
問題 | No.337 P versus NP |
ユーザー |
![]() |
提出日時 | 2016-02-11 10:50:10 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 53 ms / 2,000 ms |
コード長 | 535 bytes |
コンパイル時間 | 2,316 ms |
コンパイル使用メモリ | 74,912 KB |
実行使用メモリ | 37,316 KB |
最終ジャッジ日時 | 2024-09-22 00:24:48 |
合計ジャッジ時間 | 4,148 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
ソースコード
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();}}}