Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

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

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

Hi there, I don't understand why I am getting TLE here submission Can someone help me?

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

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

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

Hi there, I have made this submission which is an interactive solution(I think). I did not get any Idleness limit exceeded on test 1, I got Idleness limit exceeded on test 2!! I tried with different stuffs from blog but it did not work. Can someone for this to work? Thanks in advance.

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

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

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

Hi, there. I have made this submission while I was practicing: Submission link. The time complexity of this code is O(n). But I run the code I am TLE. I have also checked the editorial but I found no use. Beside the question there was an attention that time will be doubled. As I see in the test results the time consumed is 500ms, after getting doubled it becomes 1000ms which is TLE. Can someone help me to figure this out!!

Thank you in advance.

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

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