結果
| 問題 |
No.531 エヌスクミ島の平和協定
|
| コンテスト | |
| ユーザー |
キョウチク
|
| 提出日時 | 2022-05-16 18:36:52 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 322 bytes |
| コンパイル時間 | 3,963 ms |
| コンパイル使用メモリ | 74,032 KB |
| 実行使用メモリ | 41,500 KB |
| 最終ジャッジ日時 | 2024-09-14 11:18:06 |
| 合計ジャッジ時間 | 9,882 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 33 WA * 4 |
ソースコード
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();
}
}
キョウチク