結果

問題 No.337 P versus NP
ユーザー fjafjafjafjafjafja
提出日時 2017-09-17 22:24:37
言語 Java21
(openjdk 21)
結果
AC  
実行時間 126 ms / 2,000 ms
コード長 203 bytes
コンパイル時間 1,948 ms
コンパイル使用メモリ 73,972 KB
実行使用メモリ 54,400 KB
最終ジャッジ日時 2024-04-25 15:01:59
合計ジャッジ時間 5,543 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 111 ms
52,840 KB
testcase_01 AC 125 ms
54,204 KB
testcase_02 AC 120 ms
54,400 KB
testcase_03 AC 119 ms
54,204 KB
testcase_04 AC 112 ms
54,044 KB
testcase_05 AC 118 ms
54,380 KB
testcase_06 AC 116 ms
54,000 KB
testcase_07 AC 104 ms
52,824 KB
testcase_08 AC 122 ms
54,120 KB
testcase_09 AC 125 ms
54,036 KB
testcase_10 AC 122 ms
54,100 KB
testcase_11 AC 119 ms
54,092 KB
testcase_12 AC 116 ms
53,024 KB
testcase_13 AC 122 ms
54,164 KB
testcase_14 AC 123 ms
54,160 KB
testcase_15 AC 126 ms
54,312 KB
testcase_16 AC 115 ms
53,548 KB
testcase_17 AC 123 ms
54,272 KB
testcase_18 AC 120 ms
53,848 KB
testcase_19 AC 118 ms
54,160 KB
testcase_20 AC 121 ms
53,916 KB
testcase_21 AC 118 ms
52,724 KB
testcase_22 AC 118 ms
54,008 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;class A{public static void main(String[] args){Scanner sc=new Scanner(System.in);int N=sc.nextInt(),P=sc.nextInt();if(P==N*P){System.out.println("=");}else{System.out.println("!=");}}}
0