Notes
This function is in beta test. Please help improve it in the issues
here.
================================================================= ==2176==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 0x7f7f61fb1b96 (/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 0x7f7f61fb1b96 (/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 0x7f7f61fb1b96 (/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
193.584 517 453.482 517 137.491 510 679.988 517 911.723 517 537.398 517 524.200 517 356.504 517 12.464 366 499.605 517 845.030 517 61.697 225 181.454 468 581.812 517 117.292 397 310.157 517 570.706 517 12.588 114 512.574 517 365.454 517 284.705 517 781.011 517 251.335 454 156.368 464 53.406 459 340.177 464 745.885 517 641.908 517 276.410 510 27.389 174 559.836 517 663.471 517 169.467 517 73.976 415 435.188 517 459.098 517 352.140 517 707.455 517 805.866 517 318.879 501 285.329 517 642.116 517 513.128 517 472.262 517 491.356 517 42.560 510 212.309 446 304.108 458 315.786 496 445.703 517 107.030 305 398.828 517 10.405 221 542.779 517 620.682 517 528.106 517 779.849 517 375.441 510 562.456 517 20.653 501 59.777 452 240.344 517 103.176 311 255.557 517 882.858 517 198.595 448 623.956 517 275.578 517 609.963 517 411.568 517 196.661 405 614.868 517 438.624 514 260.695 517 312.114 517 75.947 350 402.620 517 151.559 376 316.337 501 218.738 517 105.381 470 578.706 517 107.268 492 11.078 499 543.655 517 17.193 411 615.1
JOJ Answer
193.584 517 453.482 517 137.491 510 679.988 517 911.723 517 537.398 517 524.200 517 356.504 517 12.464 366 499.605 517 845.030 517 61.697 225 181.454 468 581.812 517 117.292 397 310.157 517 570.706 517 12.588 114 512.574 517 365.454 517 284.705 517 781.011 517 251.335 454 156.368 464 53.406 459 340.177 464 745.885 517 641.908 517 276.410 510 27.389 174 559.836 517 663.471 517 169.467 517 73.976 415 435.188 517 459.098 517 352.140 517 707.455 517 805.866 517 318.879 501 285.329 517 642.116 517 513.128 517 472.262 517 491.356 517 42.560 510 212.309 446 304.108 458 315.786 496 445.703 517 107.030 305 398.828 517 10.405 221 542.779 517 620.682 517 528.106 517 779.849 517 375.441 510 562.456 517 20.653 501 59.777 452 240.344 517 103.176 311 255.557 517 882.858 517 198.595 448 623.956 517 275.578 517 609.963 517 411.568 517 196.661 405 614.868 517 438.624 514 260.695 517 312.114 517 75.947 350 402.620 517 151.559 376 316.337 501 218.738 517 105.381 470 578.706 517 107.268 492 11.078 499 543.655 517 17.193 411 615.1