Submission #1606861


Source Code Expand

import java.io.*;
import java.util.*;
public class Main{ // "Main" should be used for most online judges
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int red = sc.nextInt();
		//int gree = sc.nextInt().nextInt();
		//int blue = gree.nextInt();
		// 1. 3numbers from 1 to 9
		// 2. get integer to char
		// 3. char to integer
		// 4. Var divide 4  == 0  
		
		//System.out.printf("%d\n", red);
		if(red % 4 == 0){
			System.out.printf("YES\n");

		}
		else{
			System.out.printf("NO\n");
		}
	}
}

Submission Info

Submission Time
Task A - RGB Cards
User vjudge5
Language Java8 (OpenJDK 1.8.0)
Score 0
Code Size 533 Byte
Status WA
Exec Time 92 ms
Memory 21332 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 100
Status
AC × 2
AC × 4
WA × 3
Set Name Test Cases
Sample s1.txt, s2.txt
All in1.txt, in2.txt, in3.txt, in4.txt, in5.txt, s1.txt, s2.txt
Case Name Status Exec Time Memory
in1.txt AC 91 ms 18640 KB
in2.txt WA 90 ms 19028 KB
in3.txt WA 91 ms 20560 KB
in4.txt WA 92 ms 18260 KB
in5.txt AC 92 ms 20052 KB
s1.txt AC 91 ms 21332 KB
s2.txt AC 91 ms 19792 KB