Submission #1341116
Source Code Expand
package main import "fmt" func main() { var r, g, b int fmt.Scanf("%d %d %d", &r, &g, &b) m := (r*10+g)*10 + b if m%4 == 0 { fmt.Println("YES") } else { fmt.Println("NO") } }
Submission Info
Submission Time | |
---|---|
Task | A - RGB Cards |
User | alxsm |
Language | Go (1.6) |
Score | 100 |
Code Size | 201 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 512 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 | 1 ms | 512 KB |
in2.txt | AC | 1 ms | 512 KB |
in3.txt | AC | 1 ms | 512 KB |
in4.txt | AC | 1 ms | 512 KB |
in5.txt | AC | 1 ms | 512 KB |
s1.txt | AC | 1 ms | 512 KB |
s2.txt | AC | 1 ms | 512 KB |