提出 #70626574
ソースコード 拡げる
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
long A = scanner.nextLong();
long B = scanner.nextLong();
long C = scanner.nextLong();
long D = scanner.nextLong();
scanner.close();
if (C >= A && D < B) {
System.out.println("Yes");
} else {
System.out.println("No");
}
}
}
提出情報
| 提出日時 | |
|---|---|
| 問題 | A - Candy Cookie Law |
| ユーザ | addy |
| 言語 | Java24 (OpenJDK 24.0.2) |
| 得点 | 100 |
| コード長 | 493 Byte |
| 結果 | AC |
| 実行時間 | 76 ms |
| メモリ | 40852 KiB |
ジャッジ結果
| セット名 | Sample | All | ||||
|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 100 / 100 | ||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| Sample | sample_01.txt, sample_02.txt, sample_03.txt |
| All | random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt, sample_01.txt, sample_02.txt, sample_03.txt |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| random_01.txt | AC | 76 ms | 40728 KiB |
| random_02.txt | AC | 73 ms | 40064 KiB |
| random_03.txt | AC | 75 ms | 40548 KiB |
| random_04.txt | AC | 72 ms | 39908 KiB |
| random_05.txt | AC | 73 ms | 40464 KiB |
| random_06.txt | AC | 75 ms | 40852 KiB |
| random_07.txt | AC | 75 ms | 40484 KiB |
| random_08.txt | AC | 75 ms | 40720 KiB |
| random_09.txt | AC | 74 ms | 40392 KiB |
| sample_01.txt | AC | 72 ms | 40072 KiB |
| sample_02.txt | AC | 76 ms | 40740 KiB |
| sample_03.txt | AC | 73 ms | 40644 KiB |