S.P.A.R.K's blog

By S.P.A.R.K, history, 2 years ago, In English

Isn't there a way for me to find the test cases which are hitting wrong on codeforces platform. Here is my submission :

Problem D

Full text and comments »

  • Vote: I like it
  • -24
  • Vote: I do not like it

By S.P.A.R.K, history, 3 years ago, In English

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

Full text and comments »

  • Vote: I like it
  • +10
  • Vote: I do not like it

By S.P.A.R.K, history, 3 years ago, In English

i was on this problem for a while 1538G - Подарочный набор , i wrote my code 120665262 / https://codeforces.me/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.

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By S.P.A.R.K, history, 4 years ago, In English

I was trying to solve 1529C - Parsa's Humongous Tree.

i used the below code which gave memory limit exceeded.

117290969

then i used fill() instead of clear() function which was also used in the tutorials. And i got my soln ac.

117291317

I used clear() in first code whereas fill() in the later one. WHAT IS THE DIFFERENCE BETWEEN THOSE TWO??

Full text and comments »

  • Vote: I like it
  • +3
  • Vote: I do not like it