Notes
This function is in beta test. Please help improve it in the issues
here.
================================================================= ==2166==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 0x7f09adf56b96 (/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 0x7f09adf56b96 (/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 0x7f09adf56b96 (/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
65.589 51 51.638 51 4.321 45 78.655 51 44.951 51 5.386 38 36.314 51 7.606 45 3.221 50 27.986 51 45.914 50 29.938 50 62.049 51 29.711 50 43.097 51 5.217 51 78.161 51 34.577 51 6.540 51 25.573 51 47.814 50 23.989 51 3.342 36 41.657 51 99.502 51 63.166 51 62.190 51 96.447 51 12.302 51 58.948 51 72.072 51 13.572 51 37.295 51 47.315 51 80.888 51 63.057 51 80.978 51 26.437 51 20.878 42 32.122 50 32.215 51 18.514 43 9.385 51 54.918 51 22.785 51 57.763 51 19.320 50 30.525 51 72.584 51 8.719 43 36.476 50 63.343 51 46.771 50 74.588 51 12.380 51 13.593 42 37.501 51 31.839 51 42.481 50 31.074 50 27.285 51 24.113 51 10.987 47 90.215 51 30.938 51 2.957 36 82.823 51 33.790 51 4.680 25 21.093 51 87.220 51 4.989 27 10.268 46 26.598 50 40.998 50 93.127 51 9.452 45 12.338 37 66.680 51 28.330 50 14.298 42 48.364 50 71.366 51 37.316 51 90.002 51 28.628 50 57.525 51 53.708 51 99.808 51 51.302 50 9.275 36 49.942 51 85.097 51 18.828 50 59.217 51 54.002 51 31.200 51 40.756 51 18.677 45 27.018 51 8.008 37 35.008 51 6.572 29 43.214 51
JOJ Answer
65.589 51 51.638 51 4.321 45 78.655 51 44.951 51 5.386 38 36.314 51 7.606 45 3.221 50 27.986 51 45.914 50 29.938 50 62.049 51 29.711 50 43.097 51 5.217 51 78.161 51 34.577 51 6.540 51 25.573 51 47.814 50 23.989 51 3.342 36 41.657 51 99.502 51 63.166 51 62.190 51 96.447 51 12.302 51 58.948 51 72.072 51 13.572 51 37.295 51 47.315 51 80.888 51 63.057 51 80.978 51 26.437 51 20.878 42 32.122 50 32.215 51 18.514 43 9.385 51 54.918 51 22.785 51 57.763 51 19.320 50 30.525 51 72.584 51 8.719 43 36.476 50 63.343 51 46.771 50 74.588 51 12.380 51 13.593 42 37.501 51 31.839 51 42.481 50 31.074 50 27.285 51 24.113 51 10.987 47 90.215 51 30.938 51 2.957 36 82.823 51 33.790 51 4.680 25 21.093 51 87.220 51 4.989 27 10.268 46 26.598 50 40.998 50 93.127 51 9.452 45 12.338 37 66.680 51 28.330 50 14.298 42 48.364 50 71.366 51 37.316 51 90.002 51 28.628 50 57.525 51 53.708 51 99.808 51 51.302 50 9.275 36 49.942 51 85.097 51 18.828 50 59.217 51 54.002 51 31.200 51 40.756 51 18.677 45 27.018 51 8.008 37 35.008 51 6.572 29 43.214 51