Notes
This function is in beta test. Please help improve it in the issues
here.
/in/lab4.c:386:12: runtime error: load of null pointer of type 'char' ASAN:DEADLYSIGNAL ================================================================= ==47640==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x559083be8ef0 bp 0x7fff64346920 sp 0x7fff643461f0 T0) ==47640==The signal is caused by a READ memory access. ==47640==Hint: address points to the zero page. #0 0x559083be8eef in evaluate_postfix (/out/package/lab4+0x16eef) #1 0x559083be285a in main (/out/package/lab4+0x1085a) #2 0x7fb887ac1b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #3 0x559083be31c9 in _start (/out/package/lab4+0x111c9) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/out/package/lab4+0x16eef) in evaluate_postfix ==47640==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