Notes
This function is in beta test. Please help improve it in the issues
here.
================================================================= ==49402==ERROR: AddressSanitizer: strcpy-param-overlap: memory ranges [0x5627658fe100,0x5627658fe102) and [0x5627658fe100, 0x5627658fe102) overlap #0 0x7f4107215299 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x66299) #1 0x5627656dafe6 in variable (/out/package/lab4+0x3bfe6) #2 0x5627656bbbce in main (/out/package/lab4+0x1cbce) #3 0x7f4105d20b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #4 0x5627656bdb39 in _start (/out/package/lab4+0x1eb39) 0x5627658fe100 is located 0 bytes inside of global variable 'vars' defined in '/in/lab4.c:8:6' (0x5627658fe100) of size 336 0x5627658fe100 is located 0 bytes inside of global variable 'vars' defined in '/in/lab4.c:8:6' (0x5627658fe100) of size 336 SUMMARY: AddressSanitizer: strcpy-param-overlap (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x66299) ==49402==ABORTING
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, the main problem you meet now is Runtime Error. And the exit code of your program is 1, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
JOJ Answer
250.000000 0.500000 250.000000 62253.000000 64.000000 7091.000000 2.550000 -2490.000000 -22.350000