Notes
This function is in beta test. Please help improve it in the issues
here.
================================================================= ==2172==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 0x7faab9fd0b96 (/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 0x7faab9fd0b96 (/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 0x7faab9fd0b96 (/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
27.108 38 57.836 47 61.924 47 79.542 47 66.038 47 12.468 45 36.827 47 2.948 20 2.648 30 43.603 44 23.120 38 25.545 37 32.836 37 27.062 38 42.478 47 21.443 38 7.860 30 46.654 47 65.416 47 3.274 37 76.841 47 23.513 31 40.903 42 65.132 47 19.588 36 92.335 47 61.735 47 56.963 47 55.613 47 77.266 47 25.380 38 73.840 47 44.809 46 1.269 31 28.907 38 58.549 47 42.691 44 2.762 30 83.598 47 35.620 46 30.455 47 38.663 37 82.464 47 54.519 47 33.477 47 80.306 47 84.284 47 37.164 47 50.916 47 71.034 47 29.615 47 93.060 47 23.511 46 60.960 47 33.257 38 5.786 35 77.334 47 37.572 47 35.902 47 0.368 35 14.658 44 9.263 46 47.034 47 7.977 31 29.379 47 0.484 43 14.981 47 14.090 47 35.254 46 44.606 47 64.257 47 12.313 30 14.830 30 22.427 47 2.733 31 35.964 46 22.262 37 59.768 47 75.459 47 15.656 38 16.309 46 93.403 47 7.156 28 47.982 46 1.810 30 52.892 47 60.376 47 4.725 35 9.046 39 45.097 47 38.540 41 37.307 47 85.101 47 4.603 34 1.618 37 12.571 38 11.285 30 87.257 47 38.307 42 10.271 31 35.275 47 7.581 27 47.160 47 4.945 43 57.8
JOJ Answer
27.108 38 57.836 47 61.924 47 79.542 47 66.038 47 12.468 45 36.827 47 2.948 20 2.648 30 43.603 44 23.120 38 25.545 37 32.836 37 27.062 38 42.478 47 21.443 38 7.860 30 46.654 47 65.416 47 3.274 37 76.841 47 23.513 31 40.903 42 65.132 47 19.588 36 92.335 47 61.735 47 56.963 47 55.613 47 77.266 47 25.380 38 73.840 47 44.809 46 1.269 31 28.907 38 58.549 47 42.691 44 2.762 30 83.598 47 35.620 46 30.455 47 38.663 37 82.464 47 54.519 47 33.477 47 80.306 47 84.284 47 37.164 47 50.916 47 71.034 47 29.615 47 93.060 47 23.511 46 60.960 47 33.257 38 5.786 35 77.334 47 37.572 47 35.902 47 0.368 35 14.658 44 9.263 46 47.034 47 7.977 31 29.379 47 0.484 43 14.981 47 14.090 47 35.254 46 44.606 47 64.257 47 12.313 30 14.830 30 22.427 47 2.733 31 35.964 46 22.262 37 59.768 47 75.459 47 15.656 38 16.309 46 93.403 47 7.156 28 47.982 46 1.810 30 52.892 47 60.376 47 4.725 35 9.046 39 45.097 47 38.540 41 37.307 47 85.101 47 4.603 34 1.618 37 12.571 38 11.285 30 87.257 47 38.307 42 10.271 31 35.275 47 7.581 27 47.160 47 4.945 43 57.8