Tag: script
The Problem is from codeforces: http://www.codeforces.com/problemset/problem/5/A In Python, there is no explicit EOF, therefore, to read until the end of input stream, one can check the input string, and check …
December 30, 2012
algorithms, brute force, implementation, javascript, math, programming languages, python, string, tools / utilities, tricks, vbscript
In , the base 62 number conversion to base 10 is implemented. To extend the conversion to arbitrary bases, we can use base 10 as the intermediate base, i.e. …
PHP Provides str_rot13 function to rotate alphabetic characters by 13 places. However, there is no str_rot47 function to rotate 47 places over a larger mapping table. The following is …
September 19, 2012
batch script, beginner, DOS, I/O File, implementation, programming languages, string, tricks, windows, windows command shell
Previously, I have programmed some scripts in Windows Batch, and these can be found in the github. For example, the rot13.bat rotates given input string (command line parameters) to …
September 16, 2012
algorithms, batch script, beginner, code, code library, delphi, encryption, implementation, programming languages, string, tools / utilities, windows, windows command shell, windows scripting host
Rot13 and Rot5 are two ASCII rotation scheme that are made for alphabetic and digits respectively. The Rot13, namely, rotates the letter by 13 places, ‘A’ to ‘N’, ‘B’ …