Submission #1606852


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 vjudge5
Language Java8 (OpenJDK 1.8.0)
Score 0
Code Size 519 Byte
Status WA
Exec Time 103 ms
Memory 21332 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 21332 KB
in2.txt WA 90 ms 19156 KB
in3.txt AC 94 ms 18516 KB
in4.txt WA 103 ms 18644 KB
in5.txt AC 90 ms 19924 KB
s1.txt WA 90 ms 18644 KB
s2.txt WA 92 ms 18388 KB