GrayNextCentury's blog

By GrayNextCentury, history, 16 months ago, In English

Hi MikeMirzayanov I have an issue with my 213400052 for problem D today. I passed the pretests, which consisted of 10 tests, but my code failed in test 7 during the system test due to a memory limit that I exceeded. I'm not sure what this means. Additionally, I submitted the same code 213422705 using the G++ 17 compiler and it was accepted, but when I used G++ 17 64 bit during the contest , I exceeded the memory limit. Can someone explain this to me? I don't think it's fair

  • Vote: I like it
  • +17
  • Vote: I do not like it

| Write comment?
»
16 months ago, # |
Rev. 2   Vote: I like it +11 Vote: I do not like it

it's fair.

when n=1, your code are using long long ndi without init. if ndi is a large number it will get ml bcz tem+=a;.

just i fell weird why clang can't find this ub. f* clang diagnostics