Hello everyone!
Codeforces Beta Round #97 will take place on Friday, December 9th at 19:00 MSK. This will be my second classical Codeforces round and I hope it won't be the last one :)
I'd like to thank maksay, Shtrix, it4.kp, RAD and Delinur for their help in preparing contest, testing problems and translating them into English.
Good luck!
UPD: Due to technical reasons the round start time is shifted 5 minutes forward.
UPD 2: Due to the large number of participants and large number of tests the testing will finish not soon.
UPD 3: The testing is over. Thanks for participation! I apologize for a very long testing process.
The winners:
UPD 4: The editorial is released.
By the way, anyone can explain me what is "classical Codeforces round" means?
I forgot that I have antiquicksort generator :(
FFFFFFFFFFUUUUUUUUUUUU, I also have anti-java-sort generator :(
qsort(3)
orstd::sort
safe?I believe C++ STL sort uses introsort so that is safe.
EDIT: I should say, rather, that GNU C++ does this. The actual standard does not require it.
quick sort has random parts, hasn't? so what the hell is Anti Quicksort? :D
http://pastebin.com/Jpa6M6DX
Things like the paralel and area check I added after trying many things. Initially I only had distance and perpendicular checks. I noted that Romka passed system tests using only distance and perpendicular checks, and his method to check if there is a right angle is equivalent to mine. So, really any help is appreciated.
I meant pretests, my problem is that I can't pass even pretest #1
Maybe it is something about compiler versions being different.
I run your program in my machine
I guess it would have been better to figure out that pretest#1 was the first example, that way I would have focused on compiler-related things.
Edit: No, wrong theory.
11
11
in Div1-D sample tests.
Many didn't pass the pretests because of this.
Seriously now, the system test case took really a long time, but ignoring this fact, I liked the contest. I think the problems difficulty were indeed propotional to the problems' points/values, and the statements were easy to read.
really enjoyed the contest, thnx KADR. wish I didn't make a stupid mistake in D :(
Check the part of your code where you check whether it is a rectangle or not.
Thanks.