Submission #480267


Source Code Expand


def main
  input = gets.strip.to_i
  case input
  when 100
    puts 'Perfect'
  when 90..99
    puts 'Great'
  when 60..89
    puts 'Good'
  else
    puts 'Bad'
  end
end

main

Submission Info

Submission Time
Task A - テスト評価
User inohiro
Language Ruby (2.1.5p273)
Score 100
Code Size 196 Byte
Status AC
Exec Time 60 ms
Memory 5100 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 4
AC × 19
Set Name Test Cases
Sample example_0.txt, example_1.txt, example_2.txt, example_3.txt
All example_0.txt, example_1.txt, example_2.txt, example_3.txt, handmade_0.txt, handmade_1.txt, handmade_2.txt, handmade_3.txt, handmade_4.txt, handmade_5.txt, random_0.txt, random_1.txt, random_2.txt, random_3.txt, random_4.txt, example_0.txt, example_1.txt, example_2.txt, example_3.txt
Case Name Status Exec Time Memory
example_0.txt AC 56 ms 5100 KiB
example_1.txt AC 56 ms 5100 KiB
example_2.txt AC 56 ms 5100 KiB
example_3.txt AC 57 ms 5100 KiB
handmade_0.txt AC 57 ms 5100 KiB
handmade_1.txt AC 58 ms 5100 KiB
handmade_2.txt AC 60 ms 5096 KiB
handmade_3.txt AC 56 ms 5096 KiB
handmade_4.txt AC 57 ms 5100 KiB
handmade_5.txt AC 57 ms 5100 KiB
random_0.txt AC 57 ms 5100 KiB
random_1.txt AC 57 ms 5096 KiB
random_2.txt AC 56 ms 5100 KiB
random_3.txt AC 57 ms 5100 KiB
random_4.txt AC 57 ms 5100 KiB