winterfire's blog

By winterfire, 2 years ago, In English

Problem : https://codeforces.me/edu/course/2/lesson/4/4/practice/contest/274684/problem/B


My submissions:
- Using Vectors: https://ideone.com/eZXWMF
- Using Arrays : https://ideone.com/nSlABV

Can anyone help me in determining the root cause for the TLE verdict? The inspiration of using Arrays instead of Vectors came from : https://codeforces.me/edu/course/2/lesson/4/4/practice?#comment-661428

EDIT: Using a struct matrix instead of a 2D array gave AC. Code : https://ideone.com/w3Mnl7

Full text and comments »

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

By winterfire, history, 2 years ago, In English

Yes, that's right. Don't you just love to see another "How to become a Candidate Master" blog lighten up the monotony, that is Recent actions?

Before we begin, I'll be plugging some useful blogs so you can choose to ignore these and make your own variant of "How/When/Why to become a Candidate Master/Expert/Newbie/LGM/Negative rated"! God knows we are aching to see it.

https://codeforces.me/blog/entry/83267
https://codeforces.me/blog/entry/66909
https://codeforces.me/blog/entry/75662
https://codeforces.me/blog/entry/98806
https://codeforces.me/blog/entry/98621

So, to elaborate on the blog title, is there a sure shot way of becoming a Candidate Master? Will the following checklist (feel free to add onto it) help others like me become a CM or would it be just another spell of being a hard-stuck expert?

  1. CSES, except for the sections of Advanced techniques, Additional problems, Geometry.
  2. Cursory glance of the CP 3 by Steven Halim, and Guide to CP by Antti Laaksonen
  3. USACO Silver & Gold.
  4. Pray to Ad-hoc forces and Speedforces gods?

Full text and comments »

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

By winterfire, history, 2 years ago, In English

Dear MikeMirzayanov,

This is to inform you that the timings of Codeforces Round #793 (Div. 2) conflict with the final matchday of The Premier League. To give you some context, The Premier League is a worldwide televised event showcasing the top division of English football, and the final matchday is set to conclude one of the most enthralling seasons ever. We've got the title, top 4, Europa League qualification , and relegation battle on the line. I wouldn't bother making a blog post about rescheduling a Codeforces event which is equally as important, if not for this momentous occasion. To back this proposition, I'd like to highlight the fact that a fair share of the Codeforces community is an avid fan of the sport. I suppose I wouldn't be wrong in saying that the community would appreciate the rescheduling of CF#793. Let me know what you think about this!

❤️

Full text and comments »

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