ログインしてください。
Submission #75422322
Source Code Expand
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int input=sc.nextInt();
if(input<3 || input>18){
System.out.println("No");
}else{
System.out.println("Yes");
}
}
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Dice |
| User | renu_ |
| Language | Java24 (OpenJDK 24.0.2) |
| Score | 100 |
| Code Size | 306 Byte |
| Status | AC |
| Exec Time | 70 ms |
| Memory | 40432 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | sample_01.txt, sample_02.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, sample_01.txt, sample_02.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| random_01.txt | AC | 70 ms | 40248 KiB |
| random_02.txt | AC | 60 ms | 40432 KiB |
| random_03.txt | AC | 58 ms | 40200 KiB |
| random_04.txt | AC | 58 ms | 40016 KiB |
| random_05.txt | AC | 56 ms | 40136 KiB |
| random_06.txt | AC | 57 ms | 40016 KiB |
| random_07.txt | AC | 57 ms | 40216 KiB |
| random_08.txt | AC | 57 ms | 40428 KiB |
| sample_01.txt | AC | 59 ms | 40368 KiB |
| sample_02.txt | AC | 58 ms | 40388 KiB |