Timus Online Judge
About Online Judge
Frequently asked questions
Update your info
back to board
Discussion of Problem
. Scientific Conference
Runtime error (access violation) on test 13
17 Jun 2014 02:24
Hi. What's in stdin of 13th test? My solution is crashing with std::cin or scanf. With VS 2010 scanf_s it doesn't crash.
UPD hm... replaced scanf with std::cin that I was using at first. Looks like it has nothing to do with it, but because of compiler...
UPD2 comparator function for std::sort requires strict ordering :(
Edited by author 17.06.2014 02:44
Timus Online Judge Team
. All rights reserved.