Basic contest info.
Input is from standard input, output is from standard output. Do not have your code open a file or print to a file.
-lm -O2 -std=c++11
-lm -O2 -std=gnu99
Nothing special. Our judge will detect the class name and select the classpath based on that, so don't worry about specifying a particular one. Just make sure the class is public.
No need to put a #! at the top with the location of bash.
|B - Factor This||
How are we supposed to read the input? On separate lines or all at once?
Either works. As long as the output you eventually produce matches the expected output.
Ultra Cool Programming Contest Control Centre v1.8
Copyright (c) 2005-2010 by Sonny Chan