結果
| 問題 | No.384 マス埋めゲーム2 |
| コンテスト | |
| ユーザー |
TatsuDX
|
| 提出日時 | 2016-10-16 20:45:23 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 301 bytes |
| 記録 | |
| コンパイル時間 | 2,495 ms |
| コンパイル使用メモリ | 83,392 KB |
| 実行使用メモリ | 42,356 KB |
| 最終ジャッジ日時 | 2026-05-16 14:10:47 |
| 合計ジャッジ時間 | 5,193 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 16 RE * 6 |
ソースコード
import java.util.Scanner;
public class Test {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt()+sc.nextInt()-1, a = sc.nextInt(), b = sc.nextInt();
if((n-b)%a == 0){
System.out.println("YES");
} else {
System.out.println("NO");
}
}
}
TatsuDX