Submission #2409909
Source Code Expand
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int r = sc.nextInt(); int g = sc.nextInt(); int b = sc.nextInt(); if (((g * 10) + b) % 4 == 0) { System.out.println("YES"); } else { System.out.println("NO"); } } }
Submission Info
Submission Time | |
---|---|
Task | A - RGB Cards |
User | rune0202 |
Language | Java7 (OpenJDK 1.7.0) |
Score | 100 |
Code Size | 344 Byte |
Status | AC |
Exec Time | 95 ms |
Memory | 20820 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 | 94 ms | 18772 KB |
in2.txt | AC | 95 ms | 20820 KB |
in3.txt | AC | 94 ms | 20820 KB |
in4.txt | AC | 94 ms | 20820 KB |
in5.txt | AC | 94 ms | 18772 KB |
s1.txt | AC | 93 ms | 18772 KB |
s2.txt | AC | 94 ms | 20820 KB |