I replaced
char num1[103], num2[103];
scanf("%s %s", num1, num2);
with
char num1[203], num2[203];
scanf("%s", num1);
scanf("%s", num2);
and submitted as “C (clang 8.0)”, and got AC.
What’s the difference between clang 8.0 and gcc8.3?
I can’t explain why the buffers needed to be larger, unless the given ranges are incorrect, or there’s spaces somewhere.