Isn't there a way for me to find the test cases which are hitting wrong on codeforces platform. Here is my submission :
Isn't there a way for me to find the test cases which are hitting wrong on codeforces platform. Here is my submission :
My solution to the problem 1665C - Tree Infection : 153109990 gives WA on test6 and i am unable to find the corner case . If possible, please help correcting my solution
i was on this problem for a while 1538G - Gift Set , i wrote my code 120665262 / https://codeforces.com/contest/1538/submission/120665262 for solution.
it gives WA on test case 2 where 1103rd numbers do not match.
i used basic geometry to solve the problem.(mayb its called linear programming — i dont know exactly.)
Anyone having suggestions what m doing wrong here. THANKS.
I was trying to solve 1529C - Parsa's Humongous Tree.
i used the below code which gave memory limit exceeded.
then i used fill() instead of clear() function which was also used in the tutorials. And i got my soln ac.
I used clear() in first code whereas fill() in the later one. WHAT IS THE DIFFERENCE BETWEEN THOSE TWO??