Submission #1341135
Source Code Expand
import java.util.Scanner; public class Main { public static void main(String args[]){ Scanner cin = new Scanner(System.in); int A = cin.nextInt(); int B = cin.nextInt(); int C = cin.nextInt(); cin.close(); String result; if((A*100+B*10+C)%4==0){ result = "YES"; }else{ result = "NO"; } System.out.println(result); } }
Submission Info
Submission Time | |
---|---|
Task | A - RGB Cards |
User | kj1321 |
Language | Java8 (OpenJDK 1.8.0) |
Score | 100 |
Code Size | 371 Byte |
Status | AC |
Exec Time | 94 ms |
Memory | 24916 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 | 19796 KB |
in2.txt | AC | 92 ms | 24916 KB |
in3.txt | AC | 91 ms | 20948 KB |
in4.txt | AC | 92 ms | 21588 KB |
in5.txt | AC | 91 ms | 18772 KB |
s1.txt | AC | 92 ms | 18900 KB |
s2.txt | AC | 94 ms | 21844 KB |