提出 #23958466
ソースコード 拡げる
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int A = scanner.nextInt();
int B = scanner.nextInt();
if (6 * A >= B && A <= B) {
System.out.println("Yes");
}else {
System.out.println("No");
}
}
}
提出情報
| 提出日時 | |
|---|---|
| 問題 | A - Rolling Dice |
| ユーザ | lotoka |
| 言語 | Java (OpenJDK 11.0.6) |
| 得点 | 100 |
| コード長 | 357 Byte |
| 結果 | AC |
| 実行時間 | 162 ms |
| メモリ | 35596 KiB |
ジャッジ結果
| セット名 | Sample | All | ||||
|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 100 / 100 | ||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| Sample | sample_00.txt, sample_01.txt, sample_02.txt |
| All | bound_00.txt, bound_01.txt, bound_02.txt, bound_03.txt, random_00.txt, random_01.txt, sample_00.txt, sample_01.txt, sample_02.txt |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| bound_00.txt | AC | 162 ms | 35596 KiB |
| bound_01.txt | AC | 105 ms | 35540 KiB |
| bound_02.txt | AC | 101 ms | 35512 KiB |
| bound_03.txt | AC | 110 ms | 35376 KiB |
| random_00.txt | AC | 100 ms | 35424 KiB |
| random_01.txt | AC | 105 ms | 35592 KiB |
| sample_00.txt | AC | 107 ms | 35572 KiB |
| sample_01.txt | AC | 106 ms | 35532 KiB |
| sample_02.txt | AC | 114 ms | 35576 KiB |