Today I try to use the STL unordered_map, but result is not very good. It needs 13ms,. Why?.
Posts made by flyerCheng
RE: 4ms accepted solution with C
Can this program really be compiled?
minNegaNumare variables , so we can not use them as the sizes to create the arrays
int PosiArr[maxPosiNum+1]; int PosiArr1[maxPosiNum+1]; //if the number appears more than once, then put it in this array int NegaArr[-minNegaNum+1]; int NegaArr1[-minNegaNum+1];