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

Автор zzzzsust19, история, 4 года назад, По-английски

How can I get the color red? I like green better, but I will have to derank to get the color Green. Red seems to be a little tough to get. How can I get the color Red. You guys don't halp me. I think I will have to buy the color red instead

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

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

Автор zzzzsust19, 4 года назад, По-английски

I can't bring myself to see editorials. At least not before I have solved a problem. Of around 700 problems I solved, I have seen editorials less than ten times. So it takes a lot of time for me to solve hard problems, lasting usually from 2-3 hours to a few days, and sometimes a few months. Now, it is quite inefficient, but I still want to rely on editorials/tutorials as less as possible. Relying on editorials ruin my experience and interest. How can I improve my efficiency without relying on editorials

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

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

Автор zzzzsust19, история, 4 года назад, По-английски

Problem link: https://codeforces.me/problemset/problem/1294/D

My submission: https://codeforces.me/contest/1294/submission/172332862

The problem I am trying to solve has constraints as given, 1 <= q, x <= 4 * 10^5 The time complexity of the solution I have submitted is around O(2 * q). It's basically a linear time solution.

My expectation was that the highest time it would take would be around 100-200 ms. But the solution took around 1200 ms at worst case. Which is far higher than I expected. What is the reason behind this high time complexity

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

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

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

I have been getting runtime error on test case 41. I have been trying to figure out the cause, even rewrote my code, but can't seem to understand why I am getting the error. Here's my code 150627419

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

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