結果
問題 |
No.337 P versus NP
|
ユーザー |
|
提出日時 | 2021-03-10 21:22:54 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 57 ms / 2,000 ms |
コード長 | 479 bytes |
コンパイル時間 | 3,767 ms |
コンパイル使用メモリ | 73,336 KB |
実行使用メモリ | 37,112 KB |
最終ジャッジ日時 | 2024-10-12 11:08:00 |
合計ジャッジ時間 | 6,123 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
ソースコード
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class No00000337_Main2 { static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); public static void main(String[] args) throws IOException { String[] arr = br.readLine().split(" "); int n = Integer.parseInt(arr[0]); int p = Integer.parseInt(arr[1]); if(n * p == p) { System.out.println("="); } else { System.out.println("!="); } } }