Submission #345769


Source Code Expand

a = gets.to_i
b = gets.to_i
c = gets.to_i
if a <= b <= c then
    puts b
elsif b <= c <= a then
    puts c
elsif c <= a <= b then
    puts a
elsif a <= c <= b then
    puts c
elsif b <= a <= c then
    puts b
elsif c <= b <= a then
    puts b
end

Submission Info

Submission Time
Task A - 高橋くんと年齢
User keisei1092
Language Ruby (1.9.3)
Score 0
Code Size 261 Byte
Status RE
Exec Time 62 ms
Memory 4256 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 100
Status
RE × 4
RE × 24
Set Name Test Cases
Sample subtask0_sample_01.txt, subtask0_sample_02.txt, subtask0_sample_03.txt, subtask0_sample_04.txt
All 0.txt, 1.txt, 10.txt, 11.txt, 12.txt, 13.txt, 14.txt, 15.txt, 16.txt, 17.txt, 18.txt, 19.txt, 2.txt, 3.txt, 4.txt, 5.txt, 6.txt, 7.txt, 8.txt, 9.txt, subtask0_sample_01.txt, subtask0_sample_02.txt, subtask0_sample_03.txt, subtask0_sample_04.txt
Case Name Status Exec Time Memory
0.txt RE 58 ms 4212 KB
1.txt RE 61 ms 4208 KB
10.txt RE 60 ms 4212 KB
11.txt RE 61 ms 4212 KB
12.txt RE 59 ms 4208 KB
13.txt RE 62 ms 4204 KB
14.txt RE 59 ms 4204 KB
15.txt RE 58 ms 4208 KB
16.txt RE 60 ms 4212 KB
17.txt RE 61 ms 4208 KB
18.txt RE 58 ms 4212 KB
19.txt RE 60 ms 4216 KB
2.txt RE 59 ms 4212 KB
3.txt RE 60 ms 4196 KB
4.txt RE 59 ms 4208 KB
5.txt RE 60 ms 4208 KB
6.txt RE 58 ms 4212 KB
7.txt RE 61 ms 4208 KB
8.txt RE 61 ms 4204 KB
9.txt RE 59 ms 4256 KB
subtask0_sample_01.txt RE 60 ms 4212 KB
subtask0_sample_02.txt RE 61 ms 4208 KB
subtask0_sample_03.txt RE 59 ms 4212 KB
subtask0_sample_04.txt RE 59 ms 4192 KB