Comments

The site has stopped working. Please look into this.

I got warnings for 1861C and 1861D submissions 221376296 and 221354471 respectively. I applied greedy in first and `dp in second myself and it's just a mere conincidence that codes can be similar since there was nothing special about them. What kind of conclusive evidence am i required to even submit in these. I am unaware completely of all this. I did by myself and now got this warning.

I got my mistake. When a[i]=='0' then i was doing uf = nums but it would be: if(uf==-1) uf=nums; else uf = min(uf,nums);

Can anyone please tell error in my soln for problem C. I am getting WA on 2638th test case 3. 221366386