For whom, who get WA 9
It's too funy!
I forgot to check one little moment
if(goods[v[0].s] == 0){
time++;
v.pop_front();
continue;
}
Or try this test:
1
1 of hell
3
1 of lol
2 of azaz
3 of bug
Answer: 3, but my old programm gives 5 LOL, Good Luck!
Re: For whom, who get WA 9
My problem is not this that gives the correct answer, but despite that WA9
Re: For whom, who get WA 9
Try this:
1
1 of a
3
1 of a
1 of a
1 of b
Correct answer is 3.