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
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 bcztem+=a;
.just i fell weird why clang can't find this ub. f* clang diagnostics
i think you are right, thanks