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

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

D. Little Girl and Maximum XOR
Correct Submission
Incorrect Submission
This happens because of inbuilt log2 precission

log2(288230376151711743)=58 , which should be 57 instead.

Please Add below Testcase, if possible.

l=1 r=288230376151711743

correct output : 288230376151711743.

Let me know , if I'm wrong.

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

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

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

Hi! Codeforces Community. Many a times while practicing problems or in contest we get few problems that take hours of struggle but at the end leave us with something new, some brillaint concept, idea or trick. Just wanted to know about "Special Problems" that you may have come across, that had taught you something great! Please, forgive me for any mistake!

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

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

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

Hi everyone! I wanted to reduce the compilation time of the program so I searched and found few good blogs like Using GCC reduce compilation time , but nothing worked. I thought of using precompiled file for bits/stdc++.h as that u reduce the compilation time, but couldn't accomplish that. I spent more than 3 hrs searching on the net but found no good, so I feel that the community can help me with an answer. I'm using CLion on Mac OS. Tried hands on it but got a lot of errors that I couldn't understand. Please forgive me for my mistakes, if any. Thank u community!

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

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