Submission #1606653
Source Code Expand
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); int z = sc.nextInt(); int threeDigitValue = 100*x + 10*y + z; if (threeDigitValue%4 == 0) { System.out.println("YES"); } else { System.out.println("NO"); } } }
Submission Info
Submission Time | |
---|---|
Task | A - RGB Cards |
User | vjudge2 |
Language | Java8 (OpenJDK 1.8.0) |
Score | 100 |
Code Size | 371 Byte |
Status | AC |
Exec Time | 91 ms |
Memory | 21844 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 | 90 ms | 21332 KB |
in2.txt | AC | 90 ms | 18516 KB |
in3.txt | AC | 91 ms | 19668 KB |
in4.txt | AC | 89 ms | 21844 KB |
in5.txt | AC | 90 ms | 18644 KB |
s1.txt | AC | 91 ms | 19284 KB |
s2.txt | AC | 90 ms | 19412 KB |