Блог пользователя ahmadexe

Автор ahmadexe, история, 5 месяцев назад, По-английски

So I am a newbie in DFS and BFS, and was solving this problem. Surprisingly, giving TLE in 3rd testcase. I can't seem to understand where code is inefficient since time complexity is looking fine to me.

I have added some comments, which don't use the ideal terminologies but would hopefully convey what I'm trying to do

https://codeforces.net/contest/1948/submission/267884593

Полный текст и комментарии »

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

Автор ahmadexe, история, 5 месяцев назад, По-английски

Sublime randomly stops indenting on new line and cursor starts pointing onto first character of the line instead of continuing indent. Since I am using a snippet, when I press tab to reintroduce the indentation, the tab actually moves my cursor to the end. (see video) https://www.youtube.com/watch?v=2jljt4HbwGc (issue on 29 sec) Happens on line 14

This behavior happens randomly. Also with simple declarations and even calling out functions. No idea why it happens. I don’t have much idea with indentation settings, please let me know which configuration is right one for C++ competitive programming

Here is my sublime preferences file

Полный текст и комментарии »

  • Проголосовать: нравится
  • +6
  • Проголосовать: не нравится

Автор ahmadexe, история, 7 месяцев назад, По-английски

Hi all! My school is starting a CP Club but unfortunately we have no mentor right now. I understand that all the guidance is available on the internet, but our school wants us to host a live session with someone in order to increase engagement. So we need someone to give an introductory session of 20-30 minutes about basic fundamentals of competitive programming, what the journey is like, motivation, maybe share your journey. We can coordinate and host the session, and I can prepare the slides etc... If anyone is willing to be a mentor do DM me or comment below.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +13
  • Проголосовать: не нравится