|
|
back to boardno body can solve this problem using C++ const int NN = 100000; int a[NN]; unsigned short b[NN]; gets MLE #10 ! Edited by author 06.05.2007 15:00 I have the same problem :( You can use bit operations with this code: const int NN = 100000; int a[NN]; int b[NN / 2]; You can use bit operations with this code: const int NN = 100000; int a[NN]; int b[NN / 2]; It's also 6*10^5 I think admins can subtract ~200K from memory result i can use unsigned short[NN] of course, if i have normal compiler If you experience some technical problems it is faster to contact Vladimir Yakovlev directly through: 1) e-mail; 2) ICQ; 3) mobile phone. P.S. The best C++ compiler ever is used on Timus Online Judge, and you still complain... year ago i solve this problem, now my AC program gets MLE it is really problem |
|
|