Submission #1983590


Source Code Expand

r, g, b = gets.chomp.split(" ").map(&:to_i)
if (100 * r + 10 * g + b) % 4 == 0
  puts "YES"
else
  puts "NO"
end

Submission Info

Submission Time
Task A - RGB Cards
User Madai7121
Language Ruby (2.3.3)
Score 100
Code Size 117 Byte
Status AC
Exec Time 8 ms
Memory 1788 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 7
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 8 ms 1788 KB
in2.txt AC 7 ms 1788 KB
in3.txt AC 7 ms 1788 KB
in4.txt AC 7 ms 1788 KB
in5.txt AC 7 ms 1788 KB
s1.txt AC 7 ms 1788 KB
s2.txt AC 7 ms 1788 KB