1 2 3 4 5 6 7 8 9 | local read, write = io.read, io.write local num, nl = '*n', '\n' local a = read(num) local x = a local i = 0 while i<x/2 do i = i + 1 write(i,nl) end |
bG9jYWwgcmVhZCwgd3JpdGUgPSBpby5yZWFkLCBpby53cml0ZQpsb2NhbCBudW0sIG5sID0gJypuJywgJ1xuJwpsb2NhbCBhID0gcmVhZChudW0pCmxvY2FsIHggPSBhCmxvY2FsIGkgPSAwCndoaWxlIGk8eC8yIGRvCmkgPSBpICsgMQp3cml0ZShpLG5sKQplbmQ=
-
upload with new input
-
結果: Success time: 0.01s 記憶體: 2544 kB 回傳值: 0
4
1 2
-
結果: Success time: 0.01s 記憶體: 2544 kB 回傳值: 0
1 2 10 42 11
1



