Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr

ASAN:DEADLYSIGNAL
=================================================================
==49500==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000074 (pc 0x7f1e65662640 bp 0x7ffff1a51350 sp 0x7ffff1a4cf68 T0)
==49500==The signal is caused by a READ memory access.
==49500==Hint: address points to the zero page.
    #0 0x7f1e6566263f  (/lib/x86_64-linux-gnu/libc.so.6+0x8763f)
    #1 0x55b4687ec387 in main (/out/package/lab4+0xa387)
    #2 0x7f1e655fcb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #3 0x55b4687ed539 in _start (/out/package/lab4+0xb539)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x8763f) 
==49500==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