Submission #1606641


Source Code Expand

import java.io.*;
import java.util.*;

public class Exp { // "Main" should be used for most online judges
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int r = sc.nextInt();
		int g = sc.nextInt();
		int b = sc.nextInt();
		if ((r * 100 + g * 10 + b) % 4 == 0)
			System.out.println("YES");
		else
			System.out.printf("NO");
	}
}

Submission Info

Submission Time
Task A - RGB Cards
User vjudge3
Language Java7 (OpenJDK 1.7.0)
Score 0
Code Size 367 Byte
Status CE

Compile Error

./Main.java:4: error: class Exp is public, should be declared in a file named Exp.java
public class Exp { // "Main" should be used for most online judges
       ^
1 error