ritikagupta8734's blog

By ritikagupta8734, history, 3 months ago, In English

Can someone help me understand the meaning of error message that I am getting here

Read more »

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

By ritikagupta8734, history, 13 months ago, In English

Problem : https://codeforces.com/problemset/problem/1040/B

Solution : https://codeforces.com/contest/1040/submission/91739502

It is mentioned in the problem statement that for test case 2 answer 2 5 is also correct but the jury is saying it wrong. Why is it so? Can someone help?

Read more »

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

By ritikagupta8734, history, 15 months ago, In English

Most of my DP solutions are not accepted and gives TLE in Python 3. Why is it so? Can anyone suggest some ways to deal with this TLE in the case of DP in Python 3? Here is an example link: https://codeforces.com/contest/1335/submission/83615163 of my Python code which is giving TLE despite the approach being the same as mentioned in Editorial.

Read more »

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

By ritikagupta8734, history, 16 months ago, In English

Sol link: https://codeforces.com/contest/977/submission/83371644

Can someone point out why I am getting runtime error in test case 4?

Read more »

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