79354060

Date: 2025-01-14 05:33:49
Score: 0.5
Natty:
Report link

I am the OP. Sorry for my fault. It should be "+m" instead of "+a" for using the memory instead of register.

I modified the code to:

        asm ("incl %0":"+m"(global_counter));

Problem solved.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Victor