Brilliant! I used sort function from algorithms which is quick sort implementation, my Microsft C++ compiler compiled it well, but on codechef g++ 4.301 compiler failed to comile. I was abbused, no marks that i did something unusual. So I rewrote using list.sort(). It works!
One more situation, when microsoft compiler understands coder:)
Комментариев нет:
Отправить комментарий