-
Notifications
You must be signed in to change notification settings - Fork 180
i find a bug #10
Comments
extern void insert_element(multiset& m, multiset<double, std::greater >& M, double x){
} |
Could you please provide the sample input that is causing you to get an error? As it is written now the code checks to make sure that M is not empty. Thus you shouldn't get any error. |
any input will lead to this ,this is not about M is empty or not , this is c++ stl use fault . you can debug this function in gdb linux or dev c++ in windows,i have do it several times. thank you . |
i = M.begin(); |
Thanks, that slipped my mind. I'll make the correction. |
helper.cpp
The text was updated successfully, but these errors were encountered: