Result

WA

Duration

526ms

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

18 14 14
23 88 66
77 08 93
97 38 13

stdout

stderr

/tmp/code.asm:13: error: invalid effective address
/tmp/code.asm:30: error: invalid effective address
/tmp/code.asm:31: error: invalid effective address
/tmp/code.asm:41: error: invalid effective address
/tmp/code.asm:42: error: invalid effective address
gcc: error: /tmp/code.o: No such file or directory
gcc: fatal error: no input files
compilation terminated.
/bin/script: 16: /bin/script: /tmp/code: not found
rm: cannot remove '/tmp/code.o': No such file or directory
rm: cannot remove '/tmp/code': No such file or directory

strace