Result

AC

Duration

610ms

Code [DL]

sub esp,96
mov esi,0
mov ecx,esp
mov eax,3
mov ebx,0
mov edx,36
int 128
lea eax,[esp+1]
A:movsx ecx,byte[eax-1]
movsx edx,byte[eax]
lea ecx,[5*ecx]
lea ecx,[edx+2*ecx]
mov[esp+4*esi+48],ecx
sub[esp+4*esi+36],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+48]
imul ebx,[esp+4*esi+48]
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+48]
imul edx,[esp+4*esi+48]
sub ebx,edx
imul ebx,[esp+4*edi+36]
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-1],al
dec esi
jne C
lea ecx,[esp]
mov eax,4
mov ebx,1
mov edx,5
int 128

stdin

81 85 07
60 42 21
99 09 03
99 37 64

stdout

24879

stderr

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

strace