Submission #1606851


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");
		}

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

Submission Info

Submission Time
Task A - RGB Cards
User vjudge3
Language Java8 (OpenJDK 1.8.0)
Score 0
Code Size 519 Byte
Status WA
Exec Time 94 ms
Memory 24276 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 100
Status
WA × 2
AC × 3
WA × 4
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 92 ms 18644 KB
in2.txt WA 93 ms 24276 KB
in3.txt AC 94 ms 21588 KB
in4.txt WA 93 ms 21716 KB
in5.txt AC 92 ms 21844 KB
s1.txt WA 93 ms 21716 KB
s2.txt WA 94 ms 21204 KB