Submission #1606658


Source Code Expand

import java.util.Scanner;
class Main
{
    static void main()
    {
        Scanner sc=new Scanner(System.in);
        System.out.print("Enter the integers: ");
        String in=sc.next();
        in+=sc.nextLine();
        int r=in.charAt(0);
        int g=in.charAt(1);
        int b=in.charAt(2);
        int number=(r*100)+(g*10)+b;
        if(number%4==0)
        System.out.println("YES");
        else
        System.out.println("NO");
    }
}

Submission Info

Submission Time
Task A - RGB Cards
User vjudge5
Language Java7 (OpenJDK 1.7.0)
Score 0
Code Size 451 Byte
Status RE
Exec Time 81 ms
Memory 20692 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 81 ms 18772 KB
in2.txt RE 81 ms 18900 KB
in3.txt RE 81 ms 18644 KB
in4.txt RE 81 ms 20692 KB
in5.txt RE 81 ms 20692 KB
s1.txt RE 80 ms 18644 KB
s2.txt RE 81 ms 18644 KB