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

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

I was solving this question 1499B - Binary Removals.

When I am using 'int' instead of 'long long', it's getting accepted 217216005. But in the long long code 217215826, My VS code is giving me correct output ,but when I am submitting the same code in Codeforces, the output is getting changed for the given test cases.

I just want to know why is that happening & how to fix this?

Request: If you can't help me,fine.Atleast don't downvote me.It refrains people like me to ask questions.

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

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

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

Hello guys, Can someone tell me what's the difference between " int32_t main() ,int64_t main(), int main() , signed main() ...." and when to use what and what's the best for all cases ?

I would really appreciate if you guys can help me out.

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

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