Submission #2558498


Source Code Expand

import java.util.*;
public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int red = sc.nextInt();
    int blue = sc.nextInt();
    int green = sc.nextInt();
    int number = 100 * red + 10 * blue + green;
    if (number % 4 == 0) {
      System.out.println("YES");
    } else {
      System.out.println("NO");
    }
    
  }
}

Submission Info

Submission Time
Task A - RGB Cards
User elephant
Language Java8 (OpenJDK 1.8.0)
Score 100
Code Size 395 Byte
Status AC
Exec Time 93 ms
Memory 20692 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 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 AC 93 ms 20692 KB
in2.txt AC 92 ms 19412 KB
in3.txt AC 92 ms 19796 KB
in4.txt AC 93 ms 19540 KB
in5.txt AC 90 ms 20180 KB
s1.txt AC 92 ms 19668 KB
s2.txt AC 91 ms 19412 KB