|  | 
|  | 
| back to board | C++ compiler Posted by ASK  1 Mar 2018 14:23cin.sync_with_stdio(false);
 Ignore the notes. G++ is faster than Clang++, while Visual C++ 2017 gives TL.
Re: C++ compiler Posted by Orient  2 Mar 2018 01:08What do you mean? Speed of input?Re: C++ compiler Posted by ASK  3 Mar 2018 00:45The problem statement has a note: "If you write your solution in C++ we recommend you to use Visual C++ 2013 compiler." It is a bad advice, since the same program AC with G++ but TL with MS C++ (obviously, I have no idea what exactly makes it TL).Re: C++ compiler Posted by Orient  3 Mar 2018 11:07If you look through solution ratings of hardest problems, then you can see, that MS C++ is used more often then others (G++/clang++). Thus your experience is not representative.Re: C++ compiler Posted by ASK  12 Mar 2018 17:55Why hardest problems if we are talking about this one? Just look at "Solutions rating of problem Tourism on Mars": the first MS C++ is number 13, ten times slower than the top, which uses G++.Re: C++ compiler Posted by Orient  12 Mar 2018 23:01I agree, you're right. | 
 | 
|