← Back to topics
Topic

Alien Party Invites

A
Amtrix
Can someone lend me help ??
I really don't know how this can be... I'm trying 2 hours to figure out why the code changes the variable M. And if i remove this
  f(m>40000)poz[-444444]=-1;  
which gives MLE, i get WA with not explainable resons :S

http://www.z-trening.com/new/www/html/submit.php?submit=7100050648&subm_code=1
A
Amtrix
Solved ! :D
I forgot to sort, for the bsearch ... stupid fault