Submission #1606708
Source Code Expand
import java.util.*; import java.io.*; public class Main{ public static void main(String[] args) throws IOException { // TODO Auto-generated method stub Scanner in = new Scanner(System.in); while(in.hasNextLine()) { int[]arr = new int[3]; String empty = ""; for(int i = 0; i < arr.length; i++) { arr[i] = in.nextInt(); empty += arr[i]; } int num = Integer.parseInt(empty); if(num % 4 == 0) { System.out.println("YES"); //System.out.println(num + " is a multiple of 4, and thus YES should be printed."); } else { System.out.println("NO"); //System.out.println(num + " is not a multiple of 4, and thus NO should be printed."); } } } }
Submission Info
Submission Time | |
---|---|
Task | A - RGB Cards |
User | vjudge2 |
Language | Java8 (OpenJDK 1.8.0) |
Score | 0 |
Code Size | 732 Byte |
Status | RE |
Exec Time | 94 ms |
Memory | 23764 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 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 | RE | 93 ms | 18644 KB |
in2.txt | RE | 93 ms | 23764 KB |
in3.txt | RE | 92 ms | 21844 KB |
in4.txt | RE | 93 ms | 18644 KB |
in5.txt | RE | 94 ms | 23124 KB |
s1.txt | RE | 92 ms | 18644 KB |
s2.txt | RE | 94 ms | 19028 KB |