結果

問題 No.531 エヌスクミ島の平和協定
ユーザー キョウチクキョウチク
提出日時 2022-05-16 18:36:52
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 322 bytes
コンパイル時間 3,426 ms
コンパイル使用メモリ 72,272 KB
実行使用メモリ 58,240 KB
最終ジャッジ日時 2023-10-12 12:22:53
合計ジャッジ時間 10,078 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 118 ms
56,220 KB
testcase_01 AC 119 ms
56,336 KB
testcase_02 AC 120 ms
56,216 KB
testcase_03 AC 118 ms
56,296 KB
testcase_04 WA -
testcase_05 AC 118 ms
56,180 KB
testcase_06 WA -
testcase_07 AC 118 ms
56,148 KB
testcase_08 WA -
testcase_09 AC 114 ms
55,904 KB
testcase_10 AC 118 ms
56,288 KB
testcase_11 AC 116 ms
56,036 KB
testcase_12 AC 117 ms
55,708 KB
testcase_13 AC 118 ms
55,800 KB
testcase_14 AC 121 ms
56,228 KB
testcase_15 AC 118 ms
56,060 KB
testcase_16 WA -
testcase_17 AC 117 ms
55,748 KB
testcase_18 AC 118 ms
55,936 KB
testcase_19 AC 119 ms
55,932 KB
testcase_20 AC 117 ms
55,544 KB
testcase_21 AC 118 ms
56,192 KB
testcase_22 AC 121 ms
56,056 KB
testcase_23 AC 118 ms
56,220 KB
testcase_24 AC 119 ms
56,136 KB
testcase_25 AC 118 ms
55,964 KB
testcase_26 AC 118 ms
55,736 KB
testcase_27 AC 118 ms
56,132 KB
testcase_28 AC 119 ms
56,024 KB
testcase_29 AC 119 ms
56,164 KB
testcase_30 AC 118 ms
56,096 KB
testcase_31 AC 118 ms
55,588 KB
testcase_32 AC 119 ms
56,124 KB
testcase_33 AC 120 ms
56,140 KB
testcase_34 AC 120 ms
55,832 KB
testcase_35 AC 118 ms
55,740 KB
testcase_36 AC 118 ms
56,008 KB
testcase_37 AC 118 ms
55,956 KB
testcase_38 AC 118 ms
55,756 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
public class Test10 {
  public static void main(String[] args){
    Scanner sc=new Scanner(System.in);
    String[] line;
    line=sc.nextLine().split(" ");
    int n=Integer.parseInt(line[0]),m=Integer.parseInt(line[1]);
    int d=1;
    if(m<n) d=-1;
    System.out.println(d);
    sc.close();
  }
}
0