Submission #1525721


Source Code Expand

Copy
x,a,b=gets.split.map &:to_i
p (x-a).abs<(x-b).abs ? :A : :B

Submission Info

Submission Time
Task A - Meal Delivery
User leafmoon
Language Ruby (2.3.3)
Score 0
Code Size 60 Byte
Status
Exec Time 7 ms
Memory 3836 KB

Compile Error

./Main.rb:1: warning: `&' interpreted as argument prefix

Judge Result

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample1.txt, sample2.txt
All 0 / 100 sample1.txt, sample2.txt, 1.txt, 2.txt, 3.txt, 4.txt, 5.txt, 6.txt, sample1.txt, sample2.txt
Case Name Status Exec Time Memory
1.txt 7 ms 1788 KB
2.txt 7 ms 1788 KB
3.txt 7 ms 1788 KB
4.txt 7 ms 1788 KB
5.txt 7 ms 1788 KB
6.txt 7 ms 1788 KB
sample1.txt 7 ms 1788 KB
sample2.txt 7 ms 3836 KB