Record Case Detail

Notes

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

Stderr

=================================================================
==34970==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 216 byte(s) in 9 object(s) allocated from:
    #0 0x7f6ce2d10d8b in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/liblsan.so.0+0xfd8b)
    #1 0x5626a94a0554 in Node::Node(int, int) (/out/package/lab8+0x1554)

Direct leak of 24 byte(s) in 1 object(s) allocated from:
    #0 0x7f6ce2d10d8b in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/liblsan.so.0+0xfd8b)
    #1 0x5626a94a0554 in Node::Node(int, int) (/out/package/lab8+0x1554)
    #2 0x7f6c00000001  (<unknown module>)

SUMMARY: LeakSanitizer: 240 byte(s) leaked in 10 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 23, which should be 0.

Please double check your code to solve this problem and try again.

Your Answer

1
0

JOJ Answer

1
0