Category: programming languages
<The Matrix> is a great movie, and I am sure that you must be a aware of the following screenshot. So Let’s make something similar (of course without any …
The problem is from SPOJ Online Judge The puzzle asks to you check if the given sequence of integers consists of strictly two parts: the first part descending and …
The problem is from SPOJ Online Judge Since the input of p and q is restricted to 0 and 1, so we can just check its string value. Bit XOR …
The problem is from SPOJ Online Judge It is a A+B problem, so the answer/solution is: print (tonumber(io.read()) + tonumber(io.read())) –EOF (The Ultimate Computing & Technology Blog) — 110 …
This is another simple problem for practising LUA programming. The simple puzzle is from SPOJ Online Judge (see problem description) This problem can be used to serve as a …