Result

WA

Duration

496ms

Code [DL]

	.section	__TEXT,__text,regular,pure_instructions
	.macosx_version_min 10, 13
	.globl	_main                   ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.cfi_startproc
## BB#0:
	pushq	%rbp
Lcfi0:
	.cfi_def_cfa_offset 16
Lcfi1:
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
Lcfi2:
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
Lcfi3:
	.cfi_offset %rbx, -56
Lcfi4:
	.cfi_offset %r12, -48
Lcfi5:
	.cfi_offset %r13, -40
Lcfi6:
	.cfi_offset %r14, -32
Lcfi7:
	.cfi_offset %r15, -24
	leaq	L_.str(%rip), %rdi
	movq	[email protected](%rip), %rsi
	movq	[email protected](%rip), %rdx
	movq	[email protected](%rip), %rcx
	movq	[email protected](%rip), %r8
	movq	[email protected](%rip), %r9
	movq	[email protected](%rip), %rax
	movq	[email protected](%rip), %r10
	movq	[email protected](%rip), %r11
	movq	[email protected](%rip), %rbx
	movq	[email protected](%rip), %r14
	movq	[email protected](%rip), %r15
	movq	[email protected](%rip), %r12
	movq	%rax, (%rsp)
	movq	%r10, 8(%rsp)
	movq	%r11, 16(%rsp)
	movq	%rbx, 24(%rsp)
	movq	%r14, 32(%rsp)
	movq	%r15, 40(%rsp)
	movq	%r12, 48(%rsp)
	movb	$0, %al
	callq	_scanf
	leaq	L_.str.1(%rip), %rdi
	movl	$6, %r13d
	movq	[email protected](%rip), %rcx
	movq	[email protected](%rip), %rdx
	movq	[email protected](%rip), %rsi
	movq	[email protected](%rip), %r8
	movq	[email protected](%rip), %r9
	movq	[email protected](%rip), %r10
	movq	[email protected](%rip), %r11
	movq	[email protected](%rip), %rbx
	movq	[email protected](%rip), %r14
	movq	[email protected](%rip), %r15
	movq	[email protected](%rip), %r12
	movq	%rcx, -48(%rbp)         ## 8-byte Spill
	movq	[email protected](%rip), %rcx
	movl	%eax, -52(%rbp)         ## 4-byte Spill
	movl	(%rcx), %eax
	movl	%eax, -56(%rbp)         ## 4-byte Spill
	movl	(%rsi), %eax
	movq	%rsi, -64(%rbp)         ## 8-byte Spill
	movl	-56(%rbp), %esi         ## 4-byte Reload
	subl	%esi, %eax
	movq	-64(%rbp), %rsi         ## 8-byte Reload
	movl	%eax, (%rsi)
	movl	(%r12), %eax
	movl	(%r10), %esi
	subl	%eax, %esi
	movl	%esi, (%r10)
	movl	(%r15), %eax
	movl	(%r14), %esi
	subl	%eax, %esi
	movl	%esi, (%r14)
	movl	(%rcx), %eax
	movl	(%r9), %esi
	subl	%eax, %esi
	movl	%esi, (%r9)
	movl	(%r12), %eax
	movl	(%rbx), %esi
	subl	%eax, %esi
	movl	%esi, (%rbx)
	movl	(%r15), %eax
	movl	(%rdx), %esi
	subl	%eax, %esi
	movl	%esi, (%rdx)
	movl	(%rcx), %eax
	movl	(%r11), %esi
	subl	%eax, %esi
	movl	%esi, (%r11)
	movl	(%r12), %eax
	movq	-48(%rbp), %rcx         ## 8-byte Reload
	movl	(%rcx), %esi
	subl	%eax, %esi
	movl	%esi, (%rcx)
	movl	(%r15), %eax
	movl	(%r8), %esi
	subl	%eax, %esi
	movl	%esi, (%r8)
	movl	(%r10), %eax
	imull	(%rdx), %eax
	imull	(%r11), %eax
	movl	(%r14), %esi
	imull	(%r9), %esi
	imull	(%rcx), %esi
	addl	%esi, %eax
	movq	-64(%rbp), %r15         ## 8-byte Reload
	movl	(%r15), %esi
	imull	(%rbx), %esi
	imull	(%r8), %esi
	addl	%esi, %eax
	movl	(%r14), %esi
	imull	(%rbx), %esi
	imull	(%r11), %esi
	subl	%esi, %eax
	movl	(%r10), %esi
	imull	(%r9), %esi
	imull	(%r8), %esi
	subl	%esi, %eax
	movl	(%r15), %esi
	imull	(%rdx), %esi
	imull	(%rcx), %esi
	subl	%esi, %eax
	cltd
	idivl	%r13d
	movl	%eax, %esi
	movb	$0, %al
	callq	_printf
	xorl	%esi, %esi
	movl	%eax, -68(%rbp)         ## 4-byte Spill
	movl	%esi, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d%d%d%d%d%d%d%d%d%d%d%d"

	.comm	_a,4,2                  ## @a
	.comm	_b,4,2                  ## @b
	.comm	_c,4,2                  ## @c
	.comm	_d,4,2                  ## @d
	.comm	_e,4,2                  ## @e
	.comm	_f,4,2                  ## @f
	.comm	_g,4,2                  ## @g
	.comm	_h,4,2                  ## @h
	.comm	_i,4,2                  ## @i
	.comm	_j,4,2                  ## @j
	.comm	_k,4,2                  ## @k
	.comm	_l,4,2                  ## @l
L_.str.1:                               ## @.str.1
	.asciz	"%d"


.subsections_via_symbols

stdin

77 40 98
68 05 19
31 51 11
55 87 05

stdout

stderr

/tmp/code.asm:1: error: attempt to define a local label before any non-local labels
/tmp/code.asm:1: error: parser: instruction expected
/tmp/code.asm:2: error: attempt to define a local label before any non-local labels
/tmp/code.asm:2: error: parser: instruction expected
/tmp/code.asm:3: error: attempt to define a local label before any non-local labels
/tmp/code.asm:3: error: parser: instruction expected
/tmp/code.asm:4: error: attempt to define a local label before any non-local labels
/tmp/code.asm:4: error: parser: instruction expected
/tmp/code.asm:5: error: parser: instruction expected
/tmp/code.asm:7: error: label or instruction expected at start of line
/tmp/code.asm:8: error: parser: instruction expected
/tmp/code.asm:10: error: parser: instruction expected
/tmp/code.asm:12: error: parser: instruction expected
/tmp/code.asm:13: error: expression syntax error
/tmp/code.asm:15: error: parser: instruction expected
/tmp/code.asm:16: error: symbol `pushq' redefined
/tmp/code.asm:16: error: parser: instruction expected
/tmp/code.asm:17: error: symbol `pushq' redefined
/tmp/code.asm:17: error: parser: instruction expected
/tmp/code.asm:18: error: symbol `pushq' redefined
/tmp/code.asm:18: error: parser: instruction expected
/tmp/code.asm:19: error: symbol `pushq' redefined
/tmp/code.asm:19: error: parser: instruction expected
/tmp/code.asm:20: error: symbol `pushq' redefined
/tmp/code.asm:20: error: parser: instruction expected
/tmp/code.asm:21: error: parser: instruction expected
/tmp/code.asm:23: error: parser: instruction expected
/tmp/code.asm:25: error: parser: instruction expected
/tmp/code.asm:27: error: parser: instruction expected
/tmp/code.asm:29: error: parser: instruction expected
/tmp/code.asm:31: error: parser: instruction expected
/tmp/code.asm:32: error: parser: instruction expected
/tmp/code.asm:33: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:33: error: expression syntax error
/tmp/code.asm:34: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:34: error: expression syntax error
/tmp/code.asm:35: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:35: error: expression syntax error
/tmp/code.asm:36: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:36: error: expression syntax error
/tmp/code.asm:37: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:37: error: expression syntax error
/tmp/code.asm:38: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:38: error: expression syntax error
/tmp/code.asm:39: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:39: error: expression syntax error
/tmp/code.asm:40: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:40: error: expression syntax error
/tmp/code.asm:41: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:41: error: expression syntax error
/tmp/code.asm:42: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:42: error: expression syntax error
/tmp/code.asm:43: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:43: error: expression syntax error
/tmp/code.asm:44: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:44: error: expression syntax error
/tmp/code.asm:45: error: expression syntax error
/tmp/code.asm:46: error: expression syntax error
/tmp/code.asm:47: error: expression syntax error
/tmp/code.asm:48: error: expression syntax error
/tmp/code.asm:49: error: expression syntax error
/tmp/code.asm:50: error: expression syntax error
/tmp/code.asm:51: error: expression syntax error
/tmp/code.asm:52: error: parser: instruction expected
/tmp/code.asm:53: error: parser: instruction expected
/tmp/code.asm:54: error: symbol `leaq' redefined
/tmp/code.asm:54: error: parser: instruction expected
/tmp/code.asm:55: error: parser: instruction expected
/tmp/code.asm:56: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:56: error: expression syntax error
/tmp/code.asm:57: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:57: error: expression syntax error
/tmp/code.asm:58: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:58: error: expression syntax error
/tmp/code.asm:59: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:59: error: expression syntax error
/tmp/code.asm:60: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:60: error: expression syntax error
/tmp/code.asm:61: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:61: error: expression syntax error
/tmp/code.asm:62: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:62: error: expression syntax error
/tmp/code.asm:63: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:63: error: expression syntax error
/tmp/code.asm:64: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:64: error: expression syntax error
/tmp/code.asm:65: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:65: error: expression syntax error
/tmp/code.asm:66: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:66: error: expression syntax error
/tmp/code.asm:67: error: expression syntax error
/tmp/code.asm:68: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:68: error: expression syntax error
/tmp/code.asm:69: error: symbol `movl' redefined
/tmp/code.asm:69: error: parser: instruction expected
/tmp/code.asm:70: error: symbol `movl' redefined
/tmp/code.asm:70: error: parser: instruction expected
/tmp/code.asm:71: error: symbol `movl' redefined
/tmp/code.asm:71: error: parser: instruction expected
/tmp/code.asm:72: error: symbol `movl' redefined
/tmp/code.asm:72: error: parser: instruction expected
/tmp/code.asm:73: error: expression syntax error
/tmp/code.asm:74: error: symbol `movl' redefined
/tmp/code.asm:74: error: parser: instruction expected
/tmp/code.asm:75: error: parser: instruction expected
/tmp/code.asm:76: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:76: error: expression syntax error
/tmp/code.asm:77: error: symbol `movl' redefined
/tmp/code.asm:77: error: parser: instruction expected
/tmp/code.asm:78: error: symbol `movl' redefined
/tmp/code.asm:78: error: parser: instruction expected
/tmp/code.asm:79: error: symbol `movl' redefined
/tmp/code.asm:79: error: parser: instruction expected
/tmp/code.asm:80: error: symbol `subl' redefined
/tmp/code.asm:80: error: parser: instruction expected
/tmp/code.asm:81: error: symbol `movl' redefined
/tmp/code.asm:81: error: parser: instruction expected
/tmp/code.asm:82: error: symbol `movl' redefined
/tmp/code.asm:82: error: parser: instruction expected
/tmp/code.asm:83: error: symbol `movl' redefined
/tmp/code.asm:83: error: parser: instruction expected
/tmp/code.asm:84: error: symbol `subl' redefined
/tmp/code.asm:84: error: parser: instruction expected
/tmp/code.asm:85: error: symbol `movl' redefined
/tmp/code.asm:85: error: parser: instruction expected
/tmp/code.asm:86: error: symbol `movl' redefined
/tmp/code.asm:86: error: parser: instruction expected
/tmp/code.asm:87: error: symbol `movl' redefined
/tmp/code.asm:87: error: parser: instruction expected
/tmp/code.asm:88: error: symbol `subl' redefined
/tmp/code.asm:88: error: parser: instruction expected
/tmp/code.asm:89: error: symbol `movl' redefined
/tmp/code.asm:89: error: parser: instruction expected
/tmp/code.asm:90: error: symbol `movl' redefined
/tmp/code.asm:90: error: parser: instruction expected
/tmp/code.asm:91: error: symbol `movl' redefined
/tmp/code.asm:91: error: parser: instruction expected
/tmp/code.asm:92: error: symbol `subl' redefined
/tmp/code.asm:92: error: parser: instruction expected
/tmp/code.asm:93: error: symbol `movl' redefined
/tmp/code.asm:93: error: parser: instruction expected
/tmp/code.asm:94: error: symbol `movl' redefined
/tmp/code.asm:94: error: parser: instruction expected
/tmp/code.asm:95: error: symbol `movl' redefined
/tmp/code.asm:95: error: parser: instruction expected
/tmp/code.asm:96: error: symbol `subl' redefined
/tmp/code.asm:96: error: parser: instruction expected
/tmp/code.asm:97: error: symbol `movl' redefined
/tmp/code.asm:97: error: parser: instruction expected
/tmp/code.asm:98: error: symbol `movl' redefined
/tmp/code.asm:98: error: parser: instruction expected
/tmp/code.asm:99: error: symbol `movl' redefined
/tmp/code.asm:99: error: parser: instruction expected
/tmp/code.asm:100: error: symbol `subl' redefined
/tmp/code.asm:100: error: parser: instruction expected
/tmp/code.asm:101: error: symbol `movl' redefined
/tmp/code.asm:101: error: parser: instruction expected
/tmp/code.asm:102: error: symbol `movl' redefined
/tmp/code.asm:102: error: parser: instruction expected
/tmp/code.asm:103: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:103: error: expression syntax error
/tmp/code.asm:104: error: symbol `movl' redefined
/tmp/code.asm:104: error: parser: instruction expected
/tmp/code.asm:105: error: symbol `subl' redefined
/tmp/code.asm:105: error: parser: instruction expected
/tmp/code.asm:106: error: symbol `movl' redefined
/tmp/code.asm:106: error: parser: instruction expected
/tmp/code.asm:107: error: symbol `movl' redefined
/tmp/code.asm:107: error: parser: instruction expected
/tmp/code.asm:108: error: symbol `movl' redefined
/tmp/code.asm:108: error: parser: instruction expected
/tmp/code.asm:109: error: symbol `subl' redefined
/tmp/code.asm:109: error: parser: instruction expected
/tmp/code.asm:110: error: symbol `movl' redefined
/tmp/code.asm:110: error: parser: instruction expected
/tmp/code.asm:111: error: symbol `movl' redefined
/tmp/code.asm:111: error: parser: instruction expected
/tmp/code.asm:112: error: parser: instruction expected
/tmp/code.asm:113: error: symbol `imull' redefined
/tmp/code.asm:113: error: parser: instruction expected
/tmp/code.asm:114: error: symbol `movl' redefined
/tmp/code.asm:114: error: parser: instruction expected
/tmp/code.asm:115: error: symbol `imull' redefined
/tmp/code.asm:115: error: parser: instruction expected
/tmp/code.asm:116: error: symbol `imull' redefined
/tmp/code.asm:116: error: parser: instruction expected
/tmp/code.asm:117: error: parser: instruction expected
/tmp/code.asm:118: error: comma, colon, decorator or end of line expected after operand
/tmp/code.asm:118: error: expression syntax error
/tmp/code.asm:119: error: symbol `movl' redefined
/tmp/code.asm:119: error: parser: instruction expected
/tmp/code.asm:120: error: symbol `imull' redefined
/tmp/code.asm:120: error: parser: instruction expected
/tmp/code.asm:121: error: symbol `imull' redefined
/tmp/code.asm:121: error: parser: instruction expected
/tmp/code.asm:122: error: symbol `addl' redefined
/tmp/code.asm:122: error: parser: instruction expected
/tmp/code.asm:123: error: symbol `movl' redefined
/tmp/code.asm:123: error: parser: instruction expected
/tmp/code.asm:124: error: symbol `imull' redefined
/tmp/code.asm:124: error: parser: instruction expected
/tmp/code.asm:125: error: symbol `imull' redefined
/tmp/code.asm:125: error: parser: instruction expected
/tmp/code.asm:126: error: symbol `subl' redefined
/tmp/code.asm:126: error: parser: instruction expected
/tmp/code.asm:127: error: symbol `movl' redefined
/tmp/code.asm:127: error: parser: instruction expected
/tmp/code.asm:128: error: symbol `imull' redefined
/tmp/code.asm:128: error: parser: instruction expected
/tmp/code.asm:129: error: symbol `imull' redefined
/tmp/code.asm:129: error: parser: instruction expected
/tmp/code.asm:130: error: symbol `subl' redefined
/tmp/code.asm:130: error: parser: instruction expected
/tmp/code.asm:131: error: symbol `movl' redefined
/tmp/code.asm:131: error: parser: instruction expected
/tmp/code.asm:132: error: symbol `imull' redefined
/tmp/code.asm:132: error: parser: instruction expected
/tmp/code.asm:133: error: symbol `imull' redefined
/tmp/code.asm:133: error: parser: instruction expected
/tmp/code.asm:134: error: symbol `subl' redefined
/tmp/code.asm:134: error: parser: instruction expected
/tmp/code.asm:136: error: parser: instruction expected
/tmp/code.asm:137: error: symbol `movl' redefined
/tmp/code.asm:137: error: parser: instruction expected
/tmp/code.asm:138: error: symbol `movb' redefined
/tmp/code.asm:138: error: parser: instruction expected
/tmp/code.asm:139: error: symbol `callq' redefined
/tmp/code.asm:139: error: parser: instruction expected
/tmp/code.asm:140: error: parser: instruction expected
/tmp/code.asm:141: error: symbol `movl' redefined
/tmp/code.asm:141: error: parser: instruction expected
/tmp/code.asm:142: error: symbol `movl' redefined
/tmp/code.asm:142: error: parser: instruction expected
/tmp/code.asm:143: error: parser: instruction expected
/tmp/code.asm:144: error: parser: instruction expected
/tmp/code.asm:145: error: symbol `popq' redefined
/tmp/code.asm:145: error: parser: instruction expected
/tmp/code.asm:146: error: symbol `popq' redefined
/tmp/code.asm:146: error: parser: instruction expected
/tmp/code.asm:147: error: symbol `popq' redefined
/tmp/code.asm:147: error: parser: instruction expected
/tmp/code.asm:148: error: symbol `popq' redefined
/tmp/code.asm:148: error: parser: instruction expected
/tmp/code.asm:149: error: symbol `popq' redefined
/tmp/code.asm:149: error: parser: instruction expected
/tmp/code.asm:152: error: label or instruction expected at start of line
/tmp/code.asm:153: error: parser: instruction expected
/tmp/code.asm:154: error: parser: instruction expected
/tmp/code.asm:155: error: parser: instruction expected
/tmp/code.asm:157: error: parser: instruction expected
/tmp/code.asm:158: error: symbol `.comm' redefined
/tmp/code.asm:158: error: parser: instruction expected
/tmp/code.asm:159: error: symbol `.comm' redefined
/tmp/code.asm:159: error: parser: instruction expected
/tmp/code.asm:160: error: symbol `.comm' redefined
/tmp/code.asm:160: error: parser: instruction expected
/tmp/code.asm:161: error: symbol `.comm' redefined
/tmp/code.asm:161: error: parser: instruction expected
/tmp/code.asm:162: error: symbol `.comm' redefined
/tmp/code.asm:162: error: parser: instruction expected
/tmp/code.asm:163: error: symbol `.comm' redefined
/tmp/code.asm:163: error: parser: instruction expected
/tmp/code.asm:164: error: symbol `.comm' redefined
/tmp/code.asm:164: error: parser: instruction expected
/tmp/code.asm:165: error: symbol `.comm' redefined
/tmp/code.asm:165: error: parser: instruction expected
/tmp/code.asm:166: error: symbol `.comm' redefined
/tmp/code.asm:166: error: parser: instruction expected
/tmp/code.asm:167: error: symbol `.comm' redefined
/tmp/code.asm:167: error: parser: instruction expected
/tmp/code.asm:168: error: symbol `.comm' redefined
/tmp/code.asm:168: error: parser: instruction expected
/tmp/code.asm:169: error: parser: instruction expected
/tmp/code.asm:170: error: parser: instruction expected
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