Submission #1606849


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

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

Submission Info

Submission Time
Task A - RGB Cards
User vjudge4
Language Java8 (OpenJDK 1.8.0)
Score 0
Code Size 513 Byte
Status WA
Exec Time 97 ms
Memory 23892 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 100
Status
WA × 2
WA × 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 WA 93 ms 20688 KB
in2.txt WA 93 ms 20692 KB
in3.txt WA 94 ms 23892 KB
in4.txt WA 93 ms 21460 KB
in5.txt WA 92 ms 18900 KB
s1.txt WA 94 ms 21460 KB
s2.txt WA 97 ms 21332 KB