This problem is a tutorial for beginners. I am using this to practise my LUA skills. You can submit the solution to SPOJ in LUA programming language. Almost every …
Unfortunately, in LUA, there is no inbuilt string splitting function, which is very inconvenient. However, you could use string.gmatch to begin a regular expression matching and the following is a …
LUA programming language is lightweight. I am recently learning it and am impressed by how small the final executable is (around 250 KB). The LUA is supposed to be …
Given three integers a, b and c (all of them are 64 bit signed integers, to ), check if a + b > c. Since a + b can …
This simple puzzle is from Timus Online Judge. Despite a lengthy description, the solution is really simple. The number of lines is the number of the seconds he needs …