Submission #1339386
Source Code Expand
import java.util.Scanner; public class Main { static Scanner in = new Scanner(System.in); public static void main(String[] args){ int r = in.nextInt(), g = in.nextInt(), b = in.nextInt(); if((r * 100 + g *10 + b) % 4 == 0){ System.out.println("YES"); }else{ System.out.println("NO"); } } }
Submission Info
Submission Time | |
---|---|
Task | A - RGB Cards |
User | mosmos21 |
Language | Java8 (OpenJDK 1.8.0) |
Score | 100 |
Code Size | 326 Byte |
Status | AC |
Exec Time | 131 ms |
Memory | 22612 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
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 | 131 ms | 21716 KB |
in2.txt | AC | 100 ms | 18516 KB |
in3.txt | AC | 117 ms | 18644 KB |
in4.txt | AC | 99 ms | 19668 KB |
in5.txt | AC | 101 ms | 21844 KB |
s1.txt | AC | 107 ms | 19796 KB |
s2.txt | AC | 99 ms | 22612 KB |