+ 1

Super Sale C++

Hello, Please can you help in the following problem: In super sale c++ challenge test case 3,4,5 and 7 is failing and I cannot figure out why. It starts to drive me crazy đŸ€Ł Here is the code; https://code.sololearn.com/coXjMsb9a245/?ref=app Thank you,

1st Feb 2022, 8:23 AM
György Kernya
3 Answers
+ 1
Hello, It seems like the problem was the for cycle. I separated it and made 2 different for cycle. Now every test case is passed. Solomoni Railoa thanks for the hint.
2nd Feb 2022, 8:07 AM
György Kernya