Submission #1606940
Source Code Expand
# step 1: read the three digits a, b, c = input().split() # step 2: compute the 3-digit number n = int(a)*100 + int(b)*10 + int(c) # step 3: check if the 3-digit number is divisible by 4 print("YES" if n % 4 == 0 else "NO")
Submission Info
Submission Time | |
---|---|
Task | A - RGB Cards |
User | vjudge5 |
Language | Python (3.4.3) |
Score | 100 |
Code Size | 225 Byte |
Status | AC |
Exec Time | 17 ms |
Memory | 2940 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 | 17 ms | 2940 KB |
in2.txt | AC | 17 ms | 2940 KB |
in3.txt | AC | 17 ms | 2940 KB |
in4.txt | AC | 17 ms | 2940 KB |
in5.txt | AC | 17 ms | 2940 KB |
s1.txt | AC | 17 ms | 2940 KB |
s2.txt | AC | 17 ms | 2940 KB |