Submission: 93000577 Problem: 1042C - Array Product Can someone help me out? This works fine on the sample cases but shows tle on test case 6.
Edit: TLE was due to vector erase function. It works fine when set is used instead of vector.
Submission: 93000577 Problem: 1042C - Array Product Can someone help me out? This works fine on the sample cases but shows tle on test case 6.
Edit: TLE was due to vector erase function. It works fine when set is used instead of vector.