Hello there :)
In past contest(Codeforces Round #519 by Botan Investments) in Problem D i wanted to hack a solution and i wrote a code that make a text file and when i submitted that file, I found that it can't be more than 256 KB so i wrote this (My code) code for generating test and i get this error Validator 'validator.exe' returns exit code 3 [FAIL Expected EOLN (stdin)]
. I don't have any idea what is it, so could you help me?
You must follow the input format very strictly, for example, not putting spaces to the end of the line and ending the testcase with a newline.
Thank you, i just lost 100 points by this trick. :(
AFAIK 100 points are decreased only when a test is valid, but the hack was unsuccessful. No points are taken when you submit an incorrect test or generator.
I mean if i knew this trick i could get 2 successful hacking attempt.