Notes
This function is in beta test. Please help improve it in the issues
here.
================================================================= ==2162==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 0x7fe61dcabb96 (/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 0x7fe61dcabb96 (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) Indirect leak of 3200 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 0x7fe61dcabb96 (/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
6.266 7 4.822 7 9.273 7 2.879 6 8.071 7 3.822 7 2.398 5 2.523 7 4.858 7 1.957 4 1.941 7 6.806 7 8.769 7 6.979 7 6.965 7 9.100 7 1.465 4 1.195 5 3.537 7 1.957 4 1.145 3 8.044 7 2.542 7 0.453 3 9.330 7 5.165 7 2.163 4 3.750 7 7.740 7 1.287 5 0.204 3 1.204 4 9.355 7 7.581 7 0.060 1 1.377 6 0.040 1 6.510 7 0.278 3 2.941 7 7.756 7 2.675 6 1.555 4 5.600 7 2.891 6 5.228 7 5.700 7 2.288 4 0.922 4 7.899 7 7.175 7 7.224 7 8.128 7 8.343 7 3.355 6 7.237 7 3.870 7 9.003 7 2.347 7 0.916 4 8.325 7 7.751 7 3.142 7 8.662 7 2.654 4 3.586 7 2.326 5 5.324 7 7.395 7 1.245 3 6.475 7 2.643 7 5.958 7 1.970 4 8.439 7 1.916 5 0.846 6 3.239 7 6.375 7 6.618 7 9.657 7 8.896 7 2.571 5 7.038 7 6.937 7 4.464 7 1.566 6 6.218 7 1.602 4 4.950 7 4.717 7 8.213 7 7.858 7 2.437 7 2.440 5 6.540 7 3.542 7 2.225 5 6.060 7 0.135 4 5.296 7 1.478 7 0.960 4 1.872 4 9.766 7 6.432 7 5.700 7 2.640 7 2.343 5 0.177 3 8.026 7 3.974 7 6.005 7 1.257 4 0.483 6 8.071 7 2.505 6 0.661 3 4.917 7 6.914 7 3.173 7 2.166 7 9.776 7 0.060 2 9.736 7 1.018 3 0.368 6 5.189 7
JOJ Answer
6.266 7 4.822 7 9.273 7 2.879 6 8.071 7 3.822 7 2.398 5 2.523 7 4.858 7 1.957 4 1.941 7 6.806 7 8.769 7 6.979 7 6.965 7 9.100 7 1.465 4 1.195 5 3.537 7 1.957 4 1.145 3 8.044 7 2.542 7 0.453 3 9.330 7 5.165 7 2.163 4 3.750 7 7.740 7 1.287 5 0.204 3 1.204 4 9.355 7 7.581 7 0.060 1 1.377 6 0.040 1 6.510 7 0.278 3 2.941 7 7.756 7 2.675 6 1.555 4 5.600 7 2.891 6 5.228 7 5.700 7 2.288 4 0.922 4 7.899 7 7.175 7 7.224 7 8.128 7 8.343 7 3.355 6 7.237 7 3.870 7 9.003 7 2.347 7 0.916 4 8.325 7 7.751 7 3.142 7 8.662 7 2.654 4 3.586 7 2.326 5 5.324 7 7.395 7 1.245 3 6.475 7 2.643 7 5.958 7 1.970 4 8.439 7 1.916 5 0.846 6 3.239 7 6.375 7 6.618 7 9.657 7 8.896 7 2.571 5 7.038 7 6.937 7 4.464 7 1.566 6 6.218 7 1.602 4 4.950 7 4.717 7 8.213 7 7.858 7 2.437 7 2.440 5 6.540 7 3.542 7 2.225 5 6.060 7 0.135 4 5.296 7 1.478 7 0.960 4 1.872 4 9.766 7 6.432 7 5.700 7 2.640 7 2.343 5 0.177 3 8.026 7 3.974 7 6.005 7 1.257 4 0.483 6 8.071 7 2.505 6 0.661 3 4.917 7 6.914 7 3.173 7 2.166 7 9.776 7 0.060 2 9.736 7 1.018 3 0.368 6 5.189 7