Tag: script
March 27, 2014
algorithms, code, code library, cryptography, implementation, math, php, programming languages, string, tricks, webhosting
As we all know, we can store a set of boolean values (Yes or No, True of False) in a integer (signed or unsigned). For example, you can define …
To run external program on local computer using WSH (Window Scripting Host), you can create an object WScript.Shell and invoke its Runmethod, e.g.: Dim Obj Set Obj = CreateObject("WScript.Shell") Obj.Run "notepad.exe" To …
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 …
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 …
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 …