Result

AC

Duration

641ms

Code [DL]

sub esp,48
mov esi,0
lea ecx,[esp-48]
mov eax,3
mov ebx,0
mov edx,36
int 128
lea eax,[esp-47]
A:movsx ecx,byte[eax-1]
movsx edx,byte[eax]
lea ecx,[5*ecx]
lea ecx,[edx+2*ecx]
mov[esp+4*esi],ecx
sub[esp+4*esi-12],ecx
inc esi
add eax,3
cmp esi,12
jl A
mov ecx,0
mov edi,9
B:lea eax,[edi+4]
mov edx,0
mov ebx,9
div ebx
mov esi,edx
lea eax,[edi+2]
mov edx,0
div ebx
mov eax,edx
mov ebx,[esp+4*eax]
imul ebx,[esp+4*esi]
lea eax,[edi+1]
mov edx,0
mov esi,9
div esi
mov esi,edx
lea eax,[edi+5]
mov edx,0
mov ebp,9
div ebp
mov edx,[esp+4*edx]
imul edx,[esp+4*esi]
sub ebx,edx
imul ebx,[esp+4*edi-12]
add ecx,ebx
add edi,-3
jg B
mov edx,0
mov ebx,6
mov eax,ecx
div ebx
mov ecx,eax
mov esi,5
mov edi,10
C:mov eax,ecx
mov edx,0
div edi
mov ecx,eax
lea eax,[edx+48]
mov[esp+esi-49],al
dec esi
jne C
lea ecx,[esp-48]
mov eax,4
mov ebx,1
mov edx,5
int 128

stdin

43 99 47
56 03 04
78 61 28
70 74 85

stdout

24248

stderr

/usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 00000000080480a0
Segmentation fault (core dumped)

strace