|
|
3 times! what the reason? vc++ 0.328 sec g++ 1.078 sec upd. in 3 problems vs is really faster than g++ (2-3 times). Compiler problem? Edited by author 28.10.2014 17:39 Edited by author 28.10.2014 17:39 LOL I have AC in G++11 with time 0.093 s, some other people have AC with 0.031 s. How did you solve this problem with 1.078 s? xD This is absolutely not true What is this test about? My limit was 10^4, not 10^5 What is the 12 test? Edited by author 29.11.2014 12:19 It's about time limit exceed. I've just looked through the submission list. Almost everyone had WA #11. Maybe someone with AC can give me some hint about it? Ok, WA #11 is all about TLE Can somebody give some hints about that test? My mistake. Forget to add two registers (M and N). Dont have any idea how that happened XD Please provide some test cases. Thanks My AC programm return "TIME LIMIT EXCEEDED" for such tests(cycle with path throw '.' in different direction): 4 4 ..v. >..# .... ^.<. 1 1 How does the "5" coming? That's how the pointer moves: x = 0; y = 0 x = 1; y = 0 x = 2; y = 0 x = 3; y = 0 x = 3; y = 1 x = 4; y = 1 x = 4; y = 2 x = 4; y = 3 x = 3; y = 3 x = 2; y = 3 x = 1; y = 3 x = 0; y = 3 x = 0; y = 2 x = 0; y = 1 x = 1; y = 1 x = 2; y = 1 x = 3; y = 1 x = 4; y = 1 x = 4; y = 2 x = 4; y = 3 x = 3; y = 3 x = 2; y = 3 x = 1; y = 3 x = 0; y = 3 x = 0; y = 2 x = 0; y = 1 x = 1; y = 1 x = 2; y = 1 x = 3; y = 1 x = 4; y = 1 x = 4; y = 2 x = 4; y = 3 x = 3; y = 3 x = 2; y = 3 x = 1; y = 3 x = 0; y = 3 x = 0; y = 2 x = 0; y = 1 x = 1; y = 1 x = 2; y = 1 x = 3; y = 1 x = 4; y = 1 x = 4; y = 0 x = 5; y = 0 x = 5; y = 1 x = 5; y = 2 x = 5; y = 3 |
|
|