ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1203. Scientific Conference

Runtime error (access violation) on test 13
Posted by Nekto89 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