Notes
This function is in beta test. Please help improve it in the issues
here.
ASAN:DEADLYSIGNAL ================================================================= ==4602==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000001 (pc 0x7fce788ba461 bp 0x7fffd97e5180 sp 0x7fffd97e4c08 T0) ==4602==The signal is caused by a READ memory access. ==4602==Hint: address points to the zero page. #0 0x7fce788ba460 (/lib/x86_64-linux-gnu/libc.so.6+0x18e460) #1 0x7fce787894a2 in vfprintf (/lib/x86_64-linux-gnu/libc.so.6+0x5d4a2) #2 0x7fce7885de2a in __vsprintf_chk (/lib/x86_64-linux-gnu/libc.so.6+0x131e2a) #3 0x7fce7885dd59 in __sprintf_chk (/lib/x86_64-linux-gnu/libc.so.6+0x131d59) #4 0x5612c9e14836 in main (/out/package/lab5+0x7836) #5 0x7fce7874dc86 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21c86) #6 0x5612c9e15009 in _start (/out/package/lab5+0x8009) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x18e460) ==4602==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
2.000000 0.010000 250.000000 0.500000 250.000000 62253.000000 64.000000 7091.000000 2.550000 -2490.000000 -22.350000