Record Case Detail

Notes

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

Stderr

=================================================================
==4653==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 9 byte(s) in 1 object(s) allocated from:
    #0 0x7fe8afb4cb40 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb40)
    #1 0x55dae3cd9131 in infixToPostfix (/out/package/lab5+0x7131)
    #2 0x55dae3cd82ae in main (/out/package/lab5+0x62ae)
    #3 0x7fe8ae5dfc86 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21c86)

Direct leak of 9 byte(s) in 1 object(s) allocated from:
    #0 0x7fe8afb4cb40 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb40)
    #1 0x55dae3cd8d1a in preprocessExpression (/out/package/lab5+0x6d1a)
    #2 0x55dae3cd82a6 in main (/out/package/lab5+0x62a6)
    #3 0x7fe8ae5dfc86 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21c86)

SUMMARY: AddressSanitizer: 18 byte(s) leaked in 2 allocation(s).

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