結果

問題 No.531 エヌスクミ島の平和協定
ユーザー fkwnw3_1243fkwnw3_1243
提出日時 2017-09-07 21:23:18
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 570 bytes
コンパイル時間 2,937 ms
コンパイル使用メモリ 73,500 KB
実行使用メモリ 37,372 KB
最終ジャッジ日時 2024-04-25 01:43:59
合計ジャッジ時間 5,844 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 45 ms
37,224 KB
testcase_01 AC 45 ms
36,956 KB
testcase_02 AC 44 ms
37,172 KB
testcase_03 AC 43 ms
37,008 KB
testcase_04 WA -
testcase_05 AC 45 ms
37,116 KB
testcase_06 WA -
testcase_07 AC 45 ms
36,916 KB
testcase_08 WA -
testcase_09 AC 46 ms
37,192 KB
testcase_10 AC 45 ms
36,816 KB
testcase_11 AC 45 ms
37,312 KB
testcase_12 AC 45 ms
37,232 KB
testcase_13 AC 46 ms
37,136 KB
testcase_14 AC 45 ms
37,372 KB
testcase_15 AC 45 ms
37,084 KB
testcase_16 WA -
testcase_17 AC 46 ms
36,988 KB
testcase_18 AC 45 ms
37,040 KB
testcase_19 AC 44 ms
37,028 KB
testcase_20 AC 46 ms
36,916 KB
testcase_21 AC 45 ms
37,116 KB
testcase_22 AC 45 ms
37,000 KB
testcase_23 AC 46 ms
37,236 KB
testcase_24 AC 45 ms
36,896 KB
testcase_25 AC 45 ms
36,968 KB
testcase_26 AC 45 ms
37,320 KB
testcase_27 AC 45 ms
37,276 KB
testcase_28 AC 46 ms
36,932 KB
testcase_29 AC 44 ms
37,208 KB
testcase_30 AC 45 ms
36,980 KB
testcase_31 AC 44 ms
36,820 KB
testcase_32 AC 44 ms
36,988 KB
testcase_33 AC 45 ms
36,816 KB
testcase_34 AC 46 ms
36,820 KB
testcase_35 AC 44 ms
36,672 KB
testcase_36 AC 45 ms
37,244 KB
testcase_37 AC 45 ms
37,320 KB
testcase_38 AC 47 ms
36,988 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

import static java.lang.System.in;

public class No531 {
    public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(in));

        String[] inputs = reader.readLine().split(" ");
        int n = Integer.parseInt(inputs[0]);
        int m = Integer.parseInt(inputs[1]);

        if (n <= m) {
            System.out.println(1);
        } else {
            System.out.println(-1);
        }
    }
}
0