Home > Back-end >  Multiset container related issues in the STL library (insert the ninth element, the value of the fir
Multiset container related issues in the STL library (insert the ninth element, the value of the fir

Time:05-14

//because the actual code is complex, so the following pseudo code
Struct chess
{
Int the from;
Int to;
Int arr.
The int value.
}
MultisetChess ch;
For some conditions
For some conditions
Ch. The from=a value;
Ch. To=a value;
ch.value=https://bbs.csdn.net/topics/some value;
Ch. Arr=a value;
Che. Insert (ch);
End for
End for

As the title stated when I was inserted into the ninth element eight elements can have several changes before I don't know why, specific debug is as follows:

Insert the ninth element before

After inserting the ninth element
  • Related