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

Автор ApaarGulati, история, 7 часов назад, По-английски

Hi. i am new to CF. can someone please tell me, that if i participate in div 1 + div2 round, will question level be of div 1 only rounds or div 2 only rounds?

also, will rating changes(and standings also), be separate for div 2 and div1 contestants or just 1 common thing based on which everyone's rating will change?

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

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

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

HI. I am a beginner in CP. and know only python. While solving the given problem https://codeforces.com/contest/1992/problem/C i was able to write the given code 269990236. but i got a TLE on test 5. i looked at the tutorial and found that my way of thinking and the tutorial's approach were the same. But i am still not sure if the orders of the 'numbers in the middle' matters or not. can someone please look into my code and tell if what i am doing with 'the numbers in the middle' is ok?

link to tutorial: https://youtu.be/9Vv2ZukG1CM?t=2685

also, if his and my methods are the same, am i getting TLE just because of python? or is my method just longer than his is?

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

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

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

hi. i was solving 1742C - Stripes. my code was 269508031.it seems to be running fine on all test cases which i was testing manually but on CF, 1st test was fine but the 2nd test gave error on test case 10. Unfortunately, i am not able to find what the error was as the the test case is not visible.

Please suggest what i should do?? (i am a beginner and only know python)

edit: i have debugged the code multiple times, still cant find any errors

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

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

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

hi. i have written the following code for 1742C — Stripes 1742C - Stripes 269473494 it is running fine on Replit and other IDE's but CF shows Runtime Error(Exit Code is 1) i have tried debugging multiple times but there is no error. what should i do??

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

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