Submission #7072273
Source Code Expand
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int Y = sc.nextInt(); if(Y % 4 == 0 || Y % 100 == 0 || Y % 400 == 0){ System.out.println("1. YES"); } else { System.out.println("1. NO"); } sc.close(); } }
Submission Info
Submission Time | |
---|---|
Task | A - うるう年 |
User | noriyukiqks |
Language | Java7 (OpenJDK 1.7.0) |
Score | 0 |
Code Size | 419 Byte |
Status | WA |
Exec Time | 99 ms |
Memory | 22868 KB |
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 0 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 00_sample_03.txt, 01_rnd_00.txt, 01_rnd_01.txt, 01_rnd_02.txt, 01_rnd_03.txt, 01_rnd_04.txt, 01_rnd_05.txt, 01_rnd_06.txt, 01_rnd_07.txt, 01_rnd_08.txt, 01_rnd_09.txt, 01_rnd_10.txt, 01_rnd_11.txt, 01_rnd_12.txt, 01_rnd_13.txt, 01_rnd_14.txt, 01_rnd_15.txt, 01_rnd_16.txt, 01_rnd_17.txt, 01_rnd_18.txt, 01_rnd_19.txt, 02_100_00.txt, 02_100_01.txt, 02_100_02.txt, 02_100_03.txt, 02_100_04.txt, 02_100_05.txt, 02_100_06.txt, 02_100_07.txt, 02_100_08.txt, 02_100_09.txt, 02_100_10.txt, 02_100_11.txt, 02_100_12.txt, 02_100_13.txt, 02_100_14.txt, 02_100_15.txt, 02_100_16.txt, 02_100_17.txt, 02_100_18.txt, 02_100_19.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00_sample_00.txt | WA | 96 ms | 18900 KB |
00_sample_01.txt | WA | 96 ms | 18900 KB |
00_sample_02.txt | WA | 95 ms | 22740 KB |
00_sample_03.txt | WA | 95 ms | 18772 KB |
01_rnd_00.txt | WA | 97 ms | 19028 KB |
01_rnd_01.txt | WA | 96 ms | 20820 KB |
01_rnd_02.txt | WA | 97 ms | 18772 KB |
01_rnd_03.txt | WA | 95 ms | 18900 KB |
01_rnd_04.txt | WA | 98 ms | 20820 KB |
01_rnd_05.txt | WA | 96 ms | 17108 KB |
01_rnd_06.txt | WA | 95 ms | 22740 KB |
01_rnd_07.txt | WA | 95 ms | 18900 KB |
01_rnd_08.txt | WA | 98 ms | 19028 KB |
01_rnd_09.txt | WA | 97 ms | 20820 KB |
01_rnd_10.txt | WA | 96 ms | 18900 KB |
01_rnd_11.txt | WA | 99 ms | 18772 KB |
01_rnd_12.txt | WA | 98 ms | 18900 KB |
01_rnd_13.txt | WA | 96 ms | 18772 KB |
01_rnd_14.txt | WA | 96 ms | 20820 KB |
01_rnd_15.txt | WA | 95 ms | 20820 KB |
01_rnd_16.txt | WA | 97 ms | 20820 KB |
01_rnd_17.txt | WA | 97 ms | 20692 KB |
01_rnd_18.txt | WA | 96 ms | 19028 KB |
01_rnd_19.txt | WA | 97 ms | 19028 KB |
02_100_00.txt | WA | 96 ms | 18772 KB |
02_100_01.txt | WA | 97 ms | 20820 KB |
02_100_02.txt | WA | 98 ms | 19028 KB |
02_100_03.txt | WA | 96 ms | 16980 KB |
02_100_04.txt | WA | 97 ms | 20820 KB |
02_100_05.txt | WA | 96 ms | 16980 KB |
02_100_06.txt | WA | 96 ms | 20820 KB |
02_100_07.txt | WA | 97 ms | 20948 KB |
02_100_08.txt | WA | 97 ms | 17108 KB |
02_100_09.txt | WA | 96 ms | 20820 KB |
02_100_10.txt | WA | 96 ms | 22740 KB |
02_100_11.txt | WA | 97 ms | 19028 KB |
02_100_12.txt | WA | 95 ms | 20820 KB |
02_100_13.txt | WA | 96 ms | 19028 KB |
02_100_14.txt | WA | 95 ms | 18772 KB |
02_100_15.txt | WA | 96 ms | 18900 KB |
02_100_16.txt | WA | 96 ms | 22484 KB |
02_100_17.txt | WA | 97 ms | 18900 KB |
02_100_18.txt | WA | 98 ms | 19028 KB |
02_100_19.txt | WA | 98 ms | 22868 KB |