Submission #154698


Source Code Expand

class A
  def initialize
    n = gets.chomp.to_i

    if n % 3 == 0
      puts "YES"
    else
      puts "NO"
    end
  end
end

A.new

Submission Info

Submission Time
Task A - 世界のFizzBuzz
User siman
Language Ruby (1.9.3)
Score 100
Code Size 146 Byte
Status AC
Exec Time 81 ms
Memory 4204 KB

Judge Result

Set Name All
Score / Max Score 100 / 100
Status
AC × 9
Set Name Test Cases
All test_1.txt, test_2.txt, test_3.txt, test_4.txt, test_5.txt, test_6.txt, test_7.txt, test_8.txt, test_9.txt
Case Name Status Exec Time Memory
sample_01.txt AC 57 ms 4196 KB
sample_02.txt AC 55 ms 4124 KB
sample_03.txt AC 56 ms 4104 KB
test_1.txt AC 54 ms 4200 KB
test_2.txt AC 66 ms 4204 KB
test_3.txt AC 57 ms 4200 KB
test_4.txt AC 81 ms 4192 KB
test_5.txt AC 58 ms 4200 KB
test_6.txt AC 54 ms 4200 KB
test_7.txt AC 54 ms 4200 KB
test_8.txt AC 80 ms 4204 KB
test_9.txt AC 59 ms 4200 KB