整理文件结构,加入数据结构作业

This commit is contained in:
cyp0633 2021-03-20 13:23:26 +08:00
parent 08891fe257
commit e9005fd5f4
136 changed files with 215 additions and 50 deletions

View File

@ -1,8 +0,0 @@
Input
77
736 661 536 336 323 803 45 79 908 387 541 827 978 729 351 800 102 862 773 504 761 316 55 900 162 430 935 81 888 249 876 281 383 806 902 445 741 829 790 178 363 489 512 897 975 24 73 35 170 854 659 872 145 422 234 683 416 168 883 167 404 88 664 221 214 878 858 671 542 908 371 985 245 828 987 395 278
54
635 63 936 587 505 819 909 735 290 150 900 704 219 32 566 844 702 245 96 887 231 381 651 489 488 654 997 359 588 87 86 695 34 631 759 251 123 630 845 756 952 185 124 195 696 326 602 820 150 736 946 915 238 238
637 65 935 589 504 818 908 734 289 149 902 703 218 31 568 846 701 244 95 886 230 380 650 491 487 656 999 358 587 86 88 697 36 630 761 250 125 632 847 755 954 184 123 194 695 325 601 819 152 738 945 914 240 237
Expected Output
11

View File

@ -1,39 +0,0 @@
20 20
81 6
77 2
22 1
155 3
94 0
110 2
11 5
116 2
156 5
167 2
31 3
47 5
3 4
194 3
177 6
83 0
124 10
48 0
147 0
64 3
88 0
146 1
66 1
82 1
167 1
53 1
161 1
177 1
187 0
40 1
182 0
128 1
172 1
155 0
157 1
166 1
96 1
146 1

View File

View File

View File

View File

@ -0,0 +1,215 @@
.file "axis.cpp"
.text
.section .text$_Z5scanfPKcz,"x"
.linkonce discard
.globl _Z5scanfPKcz
.def _Z5scanfPKcz; .scl 2; .type 32; .endef
.seh_proc _Z5scanfPKcz
_Z5scanfPKcz:
.LFB2:
pushq %rbp
.seh_pushreg %rbp
pushq %rbx
.seh_pushreg %rbx
subq $56, %rsp
.seh_stackalloc 56
leaq 128(%rsp), %rbp
.seh_setframe %rbp, 128
.seh_endprologue
movq %rcx, -48(%rbp)
movq %rdx, -40(%rbp)
movq %r8, -32(%rbp)
movq %r9, -24(%rbp)
leaq -40(%rbp), %rax
movq %rax, -96(%rbp)
movq -96(%rbp), %rbx
movl $0, %ecx
movq __imp___acrt_iob_func(%rip), %rax
call *%rax
movq %rbx, %r8
movq -48(%rbp), %rdx
movq %rax, %rcx
call __mingw_vfscanf
movl %eax, -84(%rbp)
movl -84(%rbp), %eax
addq $56, %rsp
popq %rbx
popq %rbp
ret
.seh_endproc
.section .text$_Z6printfPKcz,"x"
.linkonce discard
.globl _Z6printfPKcz
.def _Z6printfPKcz; .scl 2; .type 32; .endef
.seh_proc _Z6printfPKcz
_Z6printfPKcz:
.LFB8:
pushq %rbp
.seh_pushreg %rbp
pushq %rbx
.seh_pushreg %rbx
subq $56, %rsp
.seh_stackalloc 56
leaq 128(%rsp), %rbp
.seh_setframe %rbp, 128
.seh_endprologue
movq %rcx, -48(%rbp)
movq %rdx, -40(%rbp)
movq %r8, -32(%rbp)
movq %r9, -24(%rbp)
leaq -40(%rbp), %rax
movq %rax, -96(%rbp)
movq -96(%rbp), %rbx
movl $1, %ecx
movq __imp___acrt_iob_func(%rip), %rax
call *%rax
movq %rbx, %r8
movq -48(%rbp), %rdx
movq %rax, %rcx
call __mingw_vfprintf
movl %eax, -84(%rbp)
movl -84(%rbp), %eax
addq $56, %rsp
popq %rbx
popq %rbp
ret
.seh_endproc
.section .rdata,"dr"
_ZStL19piecewise_construct:
.space 1
.lcomm _ZStL8__ioinit,1,1
.globl a
.bss
.align 16
a:
.space 24
.def __main; .scl 2; .type 32; .endef
.section .rdata,"dr"
.LC0:
.ascii "(%d,%d),(%d,%d),(%d,%d)\0"
.LC1:
.ascii "[%d,%d]\12\0"
.text
.globl main
.def main; .scl 2; .type 32; .endef
.seh_proc main
main:
.LFB1573:
pushq %rbp
.seh_pushreg %rbp
movq %rsp, %rbp
.seh_setframe %rbp, 0
subq $80, %rsp
.seh_stackalloc 80
.seh_endprologue
call __main
leaq 20+a(%rip), %rax
movq %rax, 48(%rsp)
leaq 16+a(%rip), %rax
movq %rax, 40(%rsp)
leaq 12+a(%rip), %rax
movq %rax, 32(%rsp)
leaq 8+a(%rip), %r9
leaq 4+a(%rip), %r8
leaq a(%rip), %rdx
leaq .LC0(%rip), %rcx
call _Z5scanfPKcz
movl $0, -4(%rbp)
.L7:
cmpl $2, -4(%rbp)
jg .L6
movl -4(%rbp), %eax
cltq
leaq 0(,%rax,8), %rdx
leaq 4+a(%rip), %rax
movl (%rdx,%rax), %ecx
movl -4(%rbp), %eax
cltq
leaq 0(,%rax,8), %rdx
leaq a(%rip), %rax
movl (%rdx,%rax), %eax
movl %ecx, %r8d
movl %eax, %edx
leaq .LC1(%rip), %rcx
call _Z6printfPKcz
addl $1, -4(%rbp)
jmp .L7
.L6:
movl $0, %eax
addq $80, %rsp
popq %rbp
ret
.seh_endproc
.def __tcf_0; .scl 3; .type 32; .endef
.seh_proc __tcf_0
__tcf_0:
.LFB2055:
pushq %rbp
.seh_pushreg %rbp
movq %rsp, %rbp
.seh_setframe %rbp, 0
subq $32, %rsp
.seh_stackalloc 32
.seh_endprologue
leaq _ZStL8__ioinit(%rip), %rcx
call _ZNSt8ios_base4InitD1Ev
nop
addq $32, %rsp
popq %rbp
ret
.seh_endproc
.def _Z41__static_initialization_and_destruction_0ii; .scl 3; .type 32; .endef
.seh_proc _Z41__static_initialization_and_destruction_0ii
_Z41__static_initialization_and_destruction_0ii:
.LFB2054:
pushq %rbp
.seh_pushreg %rbp
movq %rsp, %rbp
.seh_setframe %rbp, 0
subq $32, %rsp
.seh_stackalloc 32
.seh_endprologue
movl %ecx, 16(%rbp)
movl %edx, 24(%rbp)
cmpl $1, 16(%rbp)
jne .L12
cmpl $65535, 24(%rbp)
jne .L12
leaq _ZStL8__ioinit(%rip), %rcx
call _ZNSt8ios_base4InitC1Ev
leaq __tcf_0(%rip), %rcx
call atexit
.L12:
nop
addq $32, %rsp
popq %rbp
ret
.seh_endproc
.def _GLOBAL__sub_I_a; .scl 3; .type 32; .endef
.seh_proc _GLOBAL__sub_I_a
_GLOBAL__sub_I_a:
.LFB2056:
pushq %rbp
.seh_pushreg %rbp
movq %rsp, %rbp
.seh_setframe %rbp, 0
subq $32, %rsp
.seh_stackalloc 32
.seh_endprologue
movl $65535, %edx
movl $1, %ecx
call _Z41__static_initialization_and_destruction_0ii
nop
addq $32, %rsp
popq %rbp
ret
.seh_endproc
.section .ctors,"w"
.align 8
.quad _GLOBAL__sub_I_a
.ident "GCC: (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0"
.def __mingw_vfscanf; .scl 2; .type 32; .endef
.def __mingw_vfprintf; .scl 2; .type 32; .endef
.def _ZNSt8ios_base4InitD1Ev; .scl 2; .type 32; .endef
.def _ZNSt8ios_base4InitC1Ev; .scl 2; .type 32; .endef
.def atexit; .scl 2; .type 32; .endef

View File

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

View File

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 112 KiB

View File

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 95 KiB

View File

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View File

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

View File

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 68 KiB

View File

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 70 KiB

View File

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View File

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View File

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

View File

Before

Width:  |  Height:  |  Size: 148 KiB

After

Width:  |  Height:  |  Size: 148 KiB

View File

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 65 KiB

View File

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 74 KiB

View File

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 121 KiB

View File

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 106 KiB

View File

Before

Width:  |  Height:  |  Size: 378 KiB

After

Width:  |  Height:  |  Size: 378 KiB

Some files were not shown because too many files have changed in this diff Show More