提出 #75422322
ソースコード 拡げる
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");
}
}
}
提出情報
| 提出日時 | |
|---|---|
| 問題 | A - Dice |
| ユーザ | renu_ |
| 言語 | Java24 (OpenJDK 24.0.2) |
| 得点 | 100 |
| コード長 | 306 Byte |
| 結果 | AC |
| 実行時間 | 70 ms |
| メモリ | 40432 KiB |
ジャッジ結果
| セット名 | Sample | All | ||||
|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 100 / 100 | ||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| 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 |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| 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 |