ovi_ivo's blog

By ovi_ivo, 5 years ago, In English

Hey there,

I solved 1214C - Bad Sequence of today's Codeforces Round 583 (Div. 1 + Div. 2, based on Olympiad of Metropolises) in Python3 and submitted it selecting PyPy3 as the compiler but I got TLE on test case 87. After the contest, I submitted the same code selecting Python3 as the compiler and got an AC.

Why so?

AC submission: 60028782; TLE submission: 60028578

Anyone care to clarify? Thanks.

Full text and comments »

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

By ovi_ivo, history, 6 years ago, In English

Hi, a newbie here, did all the google work and found some ideas about solving my problem but a few good soul might help better.

How do you approach solving a problem that has too many constraints to remember? Or how do you approach to solve a problem that requires memorizing a lot variables, ranges and constraints which usually makes it harder for a newbie?

How did you overcome this? What was your approach?

Your answer will also help Robiul001, khandokersabbirsabbir and Bug_Debug. Thanks.

Full text and comments »

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