Home > code-of-duty

code-of-duty

Code-of-duty is a project mainly written in JAVA and SHELL, it's free.

The code I sent for the code of duty programming contest

Compile with: ./build.sh or javac CodeOfDuty.java

Run with input="input.txt" and output="output.txt": java CodeOfDuty Run with input={inputArg} and output={outputArg}: java CodeOfDuty {inputArg} {outputArg} Run with input=random vector with mean value {M} and size {K} and output={outputArg}: java codeOfDuty -rand {M} {K} {outputArg}