Submission #1606673


Source Code Expand

package petal;

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

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y= sc.nextInt();
		int z= sc.nextInt();
		while( x>9 || x<1 || y>9 || y<1 || z<1 || z>9)
		{
			x = sc.nextInt();
			y= sc.nextInt();
			z= sc.nextInt();
		}
		String xy= Integer.toString(x) + Integer.toString(y) + Integer.toString(z);
		int yz= Integer.valueOf(xy);
		if(yz%4==0) {
		System.out.print("YES");
		}else {
		System.out.print("NO");
		}
		sc.close();

	}
}

Submission Info

Submission Time
Task A - RGB Cards
User vjudge5
Language Java8 (OpenJDK 1.8.0)
Score 0
Code Size 556 Byte
Status RE
Exec Time 75 ms
Memory 23380 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 100
Status
RE × 2
RE × 7
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 RE 74 ms 19668 KB
in2.txt RE 74 ms 21460 KB
in3.txt RE 75 ms 19280 KB
in4.txt RE 74 ms 21332 KB
in5.txt RE 74 ms 20948 KB
s1.txt RE 74 ms 18388 KB
s2.txt RE 74 ms 23380 KB