.bss
PL:
.zero 200000
.text
main:
push 200000
xor ecx,ecx
inc ecx
mov ebx,ecx
inc ecx
mov edi,ecx
_d:
cmp BYTE PTR PL[ebx],0
jnz _n
cmp ebx,315
jnc _f
mov eax,ebx
mul edi
inc eax
mov esi,eax
inc eax
mul ebx
_l:
inc BYTE PTR PL[eax]
add eax,esi
cmp eax,[esp]
jc _l
inc ecx
_n:
inc ebx
jmp _d
_f:
xor edx,edx
push 100000
_a:
inc ecx
_i:
inc ebx
cmp BYTE PTR PL[ebx],0
jnz _i
test cl,1
jz _a
cmp ebx,[esp]
jc _a
push 705032704
mov eax,ebx
mul edi
inc eax
mul ecx
test edx,edx
jz _b
dec edx
jnz _ok
cmp eax,[esp]
jc _b
jmp _ok
_b:
inc ecx
_j:
inc ebx
cmp BYTE PTR PL[ebx],0
jnz _j
test cl,1
jz _b
mov eax,ebx
mul edi
inc eax
mul ecx
test edx,edx
jz _b
dec edx
jnz _ok
cmp eax,[esp]
jc _b
jmp _ok
_ok:
add esp,12
所用时间: 0.0011秒 |