Comments

"You are not allowed to view the requested page" when I click the link :(

My first 2 submissions were ME and I :) Also "r" or "are" would be a cool one

But they're truncated! I really want to know more about Japan's tiling and what kind of segfault in the human language compiler I am!!!

Where can I download the system tests' jury answers for problem J? I want to read them fully.

0

As a former expert and current specialist, I was cooked

I'm a bit late, but you just say that since $$$a \lt x \leq c$$$ and $$$g$$$ divides $$$x$$$, we just check if there's a multiple of $$$g$$$ that is between $$$a$$$ and $$$c$$$. This can be done similarly to the $$$y$$$ check: the largest $$$x$$$ possible is $$$\lfloor\frac{c}{g}\rfloor \cdot g = x_{max}$$$, so check if $$$a \lt x_{max}$$$.

You might think that by choosing $$$x_{max}$$$ this way the gcd could change: $$$gcd(ab, x_{max}) \gt g$$$ and that's true, but it doesn't actually matter: we assume that $$$g$$$ is the gcd, then we find some $$$y = \frac{ab}{g} \cdot k$$$, where $$$k$$$ is some constant, but since the real $$$gcd(ab, x_{max})$$$ is greater than $$$g$$$, that means that our $$$y$$$ is greater than it needed to be, which certainly doesn't hurt us (because we will check the bigger gcd at some point later on).