Блог пользователя _its.abhinav_

Автор _its.abhinav_, история, 3 года назад, По-английски

ios_base::sync_with_stdio(false); cin.tie(NULL);

I have serious doubt about the use of the above statement in my code. In one program I didn't use the above snippets and I got TLE just because of it 129767193. Whereas in another problem I have got TLE because of using the above line 129809522.

I am really confused about using this, please help me out.

Accepted solution: 129770079 129810599

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

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

Автор _its.abhinav_, история, 3 года назад, По-английски

Although I have already solved this problem by some other method, but upon implementing BFS algorithm using priority queue I am getting TLE. Kindly help me out.

solution Problem E

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

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

Автор _its.abhinav_, история, 3 года назад, По-английски

My code is of the order of n but still, it is giving TLE, can anyone fix the issue where am I making the mistake. My submission Problem B of latest codeforces round 712 DIV2

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

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

Автор _its.abhinav_, история, 3 года назад, По-английски

Is there any way to know about the users whose friend is I am??

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

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