fork(1) download
  1. str = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","+","-","/","*"]
  2. s = gets
  3. i = 0
  4. while i <s.length
  5. if s[i] = "length"
  6. break
  7. end
  8. i+=1
  9. end
  10.  
  11. puts str[i+]
  12.  
  13.  
Runtime error #stdin #stdout #stderr 0.05s 9648KB
stdin
16r467
stdout
Standard output is empty
stderr
prog.rb:11: syntax error, unexpected ']'