Submission #111287


Source Code Expand

 1 x=gets.split
  2 a = [x[0].to_i,x[1].to_i]
  3 re = a.max
  4 puts re
  5

Submission Info

Submission Time
Task A - 正直者
User sasamijp
Language Ruby (1.9.3)
Score 0
Code Size 80 Byte
Status RE
Exec Time 56 ms
Memory 4208 KB

Compile Error

./Main.rb:1: warning: possibly useless use of a literal in void context
./Main.rb:1: syntax error, unexpected tIDENTIFIER, expecting $end
 1 x=gets.split
    ^

Judge Result

Set Name all
Score / Max Score 0 / 100
Status
RE × 27
Set Name Test Cases
all 00_sample_01.txt, 00_sample_02.txt, kensho_diff01, kensho_diff02, kensho_diff03, kensho_diff04, kensho_diff05, kensho_min-max01, kensho_min-max02, kensho_min-max03, kensho_min-max04, kensho_min-max05, kensho_min-max06, kensho_min-max07, kensho_min-max08, kensho_min-max09, kensho_min-max10, kensho_rand01, kensho_rand02, kensho_rand03, kensho_rand04, kensho_rand05, kensho_rand06, kensho_rand07, kensho_rand08, kensho_rand09, kensho_rand10
Case Name Status Exec Time Memory
00_sample_01.txt RE 53 ms 4080 KB
00_sample_02.txt RE 56 ms 4208 KB
kensho_diff01 RE 52 ms 4084 KB
kensho_diff02 RE 51 ms 4080 KB
kensho_diff03 RE 51 ms 4080 KB
kensho_diff04 RE 53 ms 4080 KB
kensho_diff05 RE 51 ms 4080 KB
kensho_min-max01 RE 51 ms 4084 KB
kensho_min-max02 RE 51 ms 4076 KB
kensho_min-max03 RE 52 ms 4204 KB
kensho_min-max04 RE 52 ms 4080 KB
kensho_min-max05 RE 53 ms 4080 KB
kensho_min-max06 RE 55 ms 4080 KB
kensho_min-max07 RE 52 ms 4208 KB
kensho_min-max08 RE 52 ms 4192 KB
kensho_min-max09 RE 52 ms 4084 KB
kensho_min-max10 RE 53 ms 4080 KB
kensho_rand01 RE 52 ms 4080 KB
kensho_rand02 RE 52 ms 4084 KB
kensho_rand03 RE 52 ms 4080 KB
kensho_rand04 RE 55 ms 4080 KB
kensho_rand05 RE 53 ms 4120 KB
kensho_rand06 RE 54 ms 4084 KB
kensho_rand07 RE 56 ms 4084 KB
kensho_rand08 RE 51 ms 4084 KB
kensho_rand09 RE 52 ms 4084 KB
kensho_rand10 RE 52 ms 4084 KB