Problem rotarylock
User Karax
Submission Time 2026-11-10 11:33:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rotarylock.cpp:1:1: error: ‘section’ does not name a type
1 | section .bss
| ^~~~~~~
rotarylock.cpp:42:7: error: ‘Build’ does not name a type
42 | ; Build the 64-bit mask (K is at most 60).
| ^~~~~
rotarylock.cpp:72:38: error: ‘operation’ does not name a type
72 | mov [op_type], eax ; operation type
| ^~~~~~~~~
rotarylock.cpp:79:38: error: ‘turn’ does not name a type
79 | call get_int ; turn amount S
| ^~~~
rotarylock.cpp:97:44: error: expected constructor, destructor, or type conversion before ‘(’ token
97 | and eax, edi ; lowbit(edi)
| ^
rotarylock.cpp:139:3: error: ‘Read’ does not name a type
139 | ; Read the next nonnegative decimal integer, returning EDX:EAX.
| ^~~~
rotarylock.cpp:153:7: e