Ad
  • Custom User Avatar

    Wow 4 years ago haha I'm sorry about this. I still get overflows when I switched to uint64_t. I changed the sample test code to get it to work for the test cases but the full attempt still has the overflow issue for me.

  • Custom User Avatar

    C : If anybody else is storing number as string in an array and working with it, use uint64__t inplace of ull if can't pass tests with long-ass number as edge case. Strangely, ull doesn't work for more than 10 digits. Maybe, it's the ull implementation or compiler issue(implementation of compiler).