Notes
This function is in beta test. Please help improve it in the issues
here.
================================================================= ==2668==ERROR: LeakSanitizer: detected memory leaks Direct leak of 56 byte(s) in 1 object(s) allocated from: #0 0x515e50 (/out/package/debug+0x515e50) #1 0x51de7f (/out/package/debug+0x51de7f) #2 0x51aaf1 (/out/package/debug+0x51aaf1) #3 0x7fc9ae614b96 (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) Direct leak of 56 byte(s) in 1 object(s) allocated from: #0 0x515e50 (/out/package/debug+0x515e50) #1 0x51de7f (/out/package/debug+0x51de7f) #2 0x51aacf (/out/package/debug+0x51aacf) #3 0x7fc9ae614b96 (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) Indirect leak of 32000 byte(s) in 1 object(s) allocated from: #0 0x515e50 (/out/package/debug+0x515e50) #1 0x51fc1f (/out/package/debug+0x51fc1f) #2 0x51ed12 (/out/package/debug+0x51ed12) #3 0x51e235 (/out/package/debug+0x51e235) #4 0x51dea5 (/out/package/debug+0x51dea5) #5 0x51aaf1 (/out/package/debug+0x51aaf1) #6 0x7fc9ae614b96 (/lib/x86
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
2888.976 4511 3468.915 4950 1234.185 4636 2837.469 4656 2802.699 4844 8995.661 4950 1980.961 4950 1950.429 4910 5601.592 4950 220.302 1383 917.695 3170 5891.113 4950 9829.409 4950 185.929 2224 572.576 4759 111.159 3634 877.761 4916 4685.906 4950 1925.624 4950 373.420 4644 8305.503 4950 7120.117 4950 755.317 4573 2315.572 4253 679.169 4344 7894.907 4950 6430.225 4950 2311.306 4427 8359.938 4950 2064.584 4168 3166.001 4718 1341.015 3859 7688.965 4950 1404.653 3439 6595.094 4950 2731.454 4489 2345.758 4903 5832.829 4950 922.061 2848 5844.175 4950 0.608 113 7038.999 4950 511.849 2212 893.976 4924 1889.810 4332 9071.375 4950 2891.957 4950 6161.672 4950 2417.256 4840 1494.906 4877 5875.905 4950 357.287 4816 68.478 4947 5603.386 4950 232.740 2798 8016.160 4950 559.693 3859 62.777 1885 3934.480 4841 4331.924 4950 8067.202 4950 7698.223 4950 3187.779 4611 297.732 2241 3121.196 4950 7342.549 4950 5372.426 4950 482.817 2249 8061.631 4950 1084.819 3567 167.434 1767 8270.187 4950 2071.462 4947 697.021 3016 1222.111 3736 3
JOJ Answer
2888.976 4511 3468.915 4950 1234.185 4636 2837.469 4656 2802.699 4844 8995.661 4950 1980.961 4950 1950.429 4910 5601.592 4950 220.302 1383 917.695 3170 5891.113 4950 9829.409 4950 185.929 2224 572.576 4759 111.159 3634 877.761 4916 4685.906 4950 1925.624 4950 373.420 4644 8305.503 4950 7120.117 4950 755.317 4573 2315.572 4253 679.169 4344 7894.907 4950 6430.225 4950 2311.306 4427 8359.938 4950 2064.584 4168 3166.001 4718 1341.015 3859 7688.965 4950 1404.653 3439 6595.094 4950 2731.454 4489 2345.758 4903 5832.829 4950 922.061 2848 5844.175 4950 0.608 113 7038.999 4950 511.849 2212 893.976 4924 1889.810 4332 9071.375 4950 2891.957 4950 6161.672 4950 2417.256 4840 1494.906 4877 5875.905 4950 357.287 4816 68.478 4947 5603.386 4950 232.740 2798 8016.160 4950 559.693 3859 62.777 1885 3934.480 4841 4331.924 4950 8067.202 4950 7698.223 4950 3187.779 4611 297.732 2241 3121.196 4950 7342.549 4950 5372.426 4950 482.817 2249 8061.631 4950 1084.819 3567 167.434 1767 8270.187 4950 2071.462 4947 697.021 3016 1222.111 3736 3