Submission #30570087


Source Code Expand

# frozen_string_literal: true

A, B, C, D = gets.chomp.split.map(&:to_i)

if Time.new(2000, 1, 1, A, B, 0) < Time.new(2000, 1, 1, C, D, 1)
  puts 'Takahashi'
else
  puts 'Aoki'
end

Submission Info

Submission Time
Task A - Good morning
User Aruma256
Language Ruby (2.7.1)
Score 100
Code Size 190 Byte
Status AC
Exec Time 60 ms
Memory 14236 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 10
Set Name Test Cases
Sample example_00.txt, example_01.txt, example_02.txt
All example_00.txt, example_01.txt, example_02.txt, hand_00.txt, hand_01.txt, hand_02.txt, random_00.txt, random_01.txt, random_02.txt, random_03.txt
Case Name Status Exec Time Memory
example_00.txt AC 59 ms 14200 KiB
example_01.txt AC 60 ms 14080 KiB
example_02.txt AC 59 ms 14112 KiB
hand_00.txt AC 55 ms 14104 KiB
hand_01.txt AC 60 ms 14108 KiB
hand_02.txt AC 59 ms 14008 KiB
random_00.txt AC 59 ms 13948 KiB
random_01.txt AC 56 ms 14104 KiB
random_02.txt AC 57 ms 14216 KiB
random_03.txt AC 57 ms 14236 KiB