Notes
This function is in beta test. Please help improve it in the issues
here.
ASAN:DEADLYSIGNAL ================================================================= ==49482==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000074 (pc 0x7f9a7c949640 bp 0x7ffe68ec8fb0 sp 0x7ffe68ec8cd8 T0) ==49482==The signal is caused by a READ memory access. ==49482==Hint: address points to the zero page. #0 0x7f9a7c94963f (/lib/x86_64-linux-gnu/libc.so.6+0x8763f) #1 0x5647e1ac5be4 in main (/out/package/lab4+0xebe4) #2 0x7f9a7c8e3b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #3 0x5647e1ac5d69 in _start (/out/package/lab4+0xed69) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x8763f) ==49482==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
Show the results! a * b = 70.910000, b - c + a * f = 13932.010000 ans = -7062633.450000