fork(2) download
  1. local t={}
  2.  
  3. for i=1,50000 do
  4. t[i] = ''..i
  5. end
  6.  
  7. local temp = {}
  8.  
  9. for k,v in ipairs(t) do
  10. temp[#temp+1] = string.format('(%d, %s)',k,v)
  11. end
  12.  
  13. local x = table.concat(temp,' ')
  14.  
  15. print(string.sub(x,1,99), #x)
  16.  
Success #stdin #stdout 0.17s 6456KB
stdin
Standard input is empty
stdout
(1, 1) (2, 2) (3, 3) (4, 4) (5, 5) (6, 6) (7, 7) (8, 8) (9, 9) (10, 10) (11, 11) (12, 12) (13, 13) 	727787