Cody

Solution 2153482

Submitted on 8 Mar 2020
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
assert(isequal(circle_points(1),4))

y = 5

Assertion failed.

2   Fail
assert(isequal(circle_points(3),4))

y = 29

Assertion failed.

3   Fail
assert(isequal(circle_points(5),12))

y = 81

Assertion failed.

4   Fail
assert(isequal(circle_points(65),36))

y = 13273

Assertion failed.

5   Fail
assert(isequal(circle_points(64090),324))

y = 1.2904e+10

Assertion failed.

6   Fail
assert(isequal(circle_points(326441),12))

y = 3.3478e+11

Assertion failed.

7   Fail
assert(isequal(circle_points(359125),420))

y = 4.0517e+11

Assertion failed.

8   Fail
assert(isequal(circle_points(1000001),36))

Output argument "y" (and maybe others) not assigned during call to "circle_points". Error in Test8 (line 1) assert(isequal(circle_points(1000001),36))

9   Fail
assert(isequal(circle_points(2417899275),20))

Output argument "y" (and maybe others) not assigned during call to "circle_points". Error in Test9 (line 1) assert(isequal(circle_points(2417899275),20))

10   Fail
assert(isequal(circle_points(31432690549),8748))

Output argument "y" (and maybe others) not assigned during call to "circle_points". Error in Test10 (line 1) assert(isequal(circle_points(31432690549),8748))

11   Fail
assert(isequal(circle_points(11472932050385),78732))

Output argument "y" (and maybe others) not assigned during call to "circle_points". Error in Test11 (line 1) assert(isequal(circle_points(11472932050385),78732))

12   Fail
assert(isequal(circle_points(1021090952484265),236196))

Output argument "y" (and maybe others) not assigned during call to "circle_points". Error in Test12 (line 1) assert(isequal(circle_points(1021090952484265),236196))

13   Fail
assert(isequal(circle_points(6095127531752228),78732))

Output argument "y" (and maybe others) not assigned during call to "circle_points". Error in Test13 (line 1) assert(isequal(circle_points(6095127531752228),78732))

14   Fail
assert(isequal(circle_points(5*circle_points(630209)),12))

Output argument "y" (and maybe others) not assigned during call to "circle_points". Error in Test14 (line 1) assert(isequal(circle_points(5*circle_points(630209)),12))

15   Fail
y=arrayfun(@(x) circle_points(x),1000:2000); [m1,m2]=max(y); assert(isequal(m1-m2,2)); [h1,h2]=hist(y,unique(y)); assert(isequal(prod(h1-h2),1399066124544000))

y = 3141549 y = 3147833 y = 3154065 y = 3160417 y = 3166637 y = 3173069 y = 3179309 y = 3185573 y = 3191945 y = 3198241 y = 3204657 y = 3210941 y = 3217301 y = 3223733 y = 3230061 y = 3236473 y = 3242817 y = 3249265 y = 3255669 y = 3262077 y = 3268437 y = 3274833 y = 3281257 y = 3287673 y = 3294097 y = 3300525 y = 3306989 y = 3313461 y = 3319849 y = 3326313 y = 3332849 y = 3339345 y = 3345773 y = 3352245 y = 3358789 y = 3365289 y = 3371817 y = 3378289 y = 3384741 y = 3391317 y = 3397829 y = 3404381 y = 3410897 y = 3417529 y = 3424089 y = 3430613 y = 3437133 y = 3443709 y = 3450341 y = 3456937 y = 3463497 y = 3470145 y = 3476749 y = 3483333 y = 3489901 y = 3496513 y = 3503233 y = 3509825 y = 3516513 y = 3523077 y = 3529773 y = 3536509 y = 3543121 y = 3549833 y = 3556513 y = 3563193 y = 3569893 y = 3576525 y = 3583341 y = 3590033 y = 3596737 y = 3603417 y = 3610145 y = 3617013 y = 3623669 y = 3630421 y = 3637145 y = 3643945 y = 3650705 y = 3657413 y = 3664213 y = 3671061 y = 3677893 y = 3684625 y = 3691361 y = 3698273 y = 3705141 y = 3711957 y = 3718717 y = 3725565 y = 3732457 y = 3739257 y = 3746153 y = 3752981 y = 3759941 y = 3766813 y = 3773577 y = 3780489 y = 3787417 y = 3794377 y = 3801261 y = 3808101 y = 3815093 y = 3821945 y = 3828937 y = 3835921 y = 3842825 y = 3849837 y = 3856685 y = 3863685 y = 3870681 y = 3877673 y = 3884649 y = 3891561 y = 3898573 y = 3905621 y = 3912677 y = 3919657 y = 3926593 y = 3933665 y = 3940669 y = 3947709 y = 3954765 y = 3961861 y = 3968937 y = 3975985 y = 3983049 y = 3990149 y = 3997261 y = 4004309 y = 4011421 y = 4018481 y = 4025641 y = 4032761 y = 4039837 y = 4046965 y = 4054101 y = 4061217 y = 4068433 y = 4075497 y = 4082729 y = 4089893 y = 4097045 y = 4104197 y = 4111393 y = 4118641 y = 4125777 y = 4133001 y = 4140213 y = 4147429 y = 4154701 y = 4161825 y = 4169025 y = 4176377 y = 4183609 y = 4190941 y = 4198093 y = 4205453 y = 4212713 y = 4219945 y = 4227233 y = 4234493 y = 4241901 y = 4249165 y = 4256453 y = 4263769 y = 4271065 y = 4278441 y = 4285733 y = 4293045 y = 4300445 y = 4307773 y = 4315137 y = 4322465 y = 4329945 y = 4337293 y = 4344637 y = 4351973 y = 4359409 y = 4366889 y = 4374281 y = 4381673 y = 4389053 y = 4396509 y = 4404013 y = 4411409 y = 4418833 y = 4426305 y = 4433793 y = 4441189 y = 4448653 y = 4456229 y = 4463681 y = 4471209 y = 4478633 y = 4486125 y = 4493757 y = 4501189 y = 4508725 y = 4516265 y = 4523793 y = 4531361 y = 4538749 y = 4546413 y = 4554053 y = 4561653 y = 4569209 y = 4576593 y = 4584353 y = 4591941 y = 4599525 y = 4607125 y = 4614709 y = 4622393 y = 4629977 y = 4637625 y = 4645285 y = 4652853 y = 4660557 y = 4668105 y = 4675769 y = 4683537 y = 4691217 y = 4698893 y = 4706469 y = 4714253 y = 4721929 y = 4729681 y = 4737305 y = 4745153 y = 4752845 y = 4760541 y = 4768221 y = 4776001 y = 4783825 y = 4791601 y = 4799285 y = 4807061 y = 4814845 y = 4822677 y = 4830417 y = 4838193 y = 4845993 y = 4853797 y = 4861661 y = 4869413 y = 4877317 y = 4885153 y = 4892889 y = 4900761 y = 4908589 y = 4916509 y = 4924357 y = 4932181 y = 4940153 y = 4947961 y = 4955945 y = 4963757 y = 4971637 y = 4979637 y = 4987433 y = 4995465 y = 5003257 y = 5011281 y = 5019261 y = 5027109 y = 5035085 y = 5043025 y = 5051065 y = 5059017 y = 5066945 y = 5074981 y = 5082941 y = 5090997 y = 5098921 y = 5106905 y = 5115009 y = 5122989 y = 5131029 y = 5138973 y = 5147101 y = 5155145 y = 5163145 y = 5171185 y = 5179293 y = 5187445 y = 5195469 y = 5203549 y = 5211609 y = 5219729 y = 5227849 y = 5235885 y = 5243965 y = 5252133 y = 5260241 y = 5268473 y = 5276489 y = 5284761 y = 5292837 y = 5301005 y = 5309173 y = 5317321 y = 5325577 y = 5333713 y = 5341929 y = 5350165 y = 5358301 y = 5366565 y = 5374729 y = 5383009 y = 5391289 y = 5399417 y = 5407661 y = 5415869 y = 5424181 y = 5432457 y = 5440649 y = 5448905 y = 5457173 y = 5465549 y = 5473797 y = 5482053 y = 5490409 y = 5498697 y = 5507001 y = 5515333 y = 5523717 y = 5532085 y = 5540421 y = 5548673 y = 5556977 y = 5565369 y = 5573781 y = 5582173 y = 5590501 y = 5598945 y = 5607345 y = 5615673 y = 5624137 y = 5632509 y = 5640981 y = 5649381 y = 5657745 y = 5666225 y = 5674641 y = 5683185 y = 5691581 y = 5699917 y = 5708517 y = 5716873 y = 5725489 y = 5733889 y = 5742441 y = 5750973 y = 5759413 y = 5767933 y = 5776481 y = 5785049 y = 5793585 y = 5801981 y = 5810629 y = 5819141 y = 5827677 y = 5836209 y = 5844649 y = 5853441 y = 5861981 y = 5870581 y = 5879077 y = 5887757 y = 5896409 y = 5904929 y = 5913593 y = 5922173 y = 5930861 y = 5939541 y = 5948057 y = 5956809 y = 5965449 y = 5974089 y = 5982661 y = 5991357 y = 6000149 y = 6008825 y = 6017529 y = 6026105 y = 6034905 y = 6043629 y = 6052301 y = 6060973 y = 6069761 y = 6078545 y = 6087233 y = 6095909 y = 6104781 y = 6113565 y = 6122309 y = 6130977 y = 6139793 y = 6148657 y = 6157477 y = 6166261 y = 6174901 y = 6183821 y = 6192633 y = 6201441 y = 6210281 y = 6219125 y = 6228029 y = 6236869 y = 6245677 y = 6254561 y = 6263393 y = 6272329 y = 6281181 y = 6290101 y = 6298989 y = 6307865 y = 6316841 y = 6325641 y = 6334649 y = 6343533 y = 6352429 y = 6361349 y = 6370313 y = 6379361 y = 6388241 y = 6397209 y = 6406149 y = 6415133 y = 6424165 y = 6433089 y = 6442145 y = 6451105 y = 6460117 y = 6469141 y = 6478085 y = 6487245 y = 6496177 y = 6505257 y = 6514281 y = 6523269 y = 6532421 y = 6541437 y = 6550501 y = 6559673 y = 6568673 y = 6577873 y = 6586813 y = 6596053 y = 6605181 y = 6614197 y = 6623353 y = 6632321 y = 6641585 y = 6650773 y = 6659845 y = 6669013 y = 6678137 y = 6687401 y = 6696497 y = 6705585 y = 6714885 y = 6723973 y = 6733293 y = 6742449 y = 6751681 y = 6760929 y = 6770121 y = 6779373 y = 6788533 y = 6797789 y = 6807049 y = 6816281 y = 6825489 y = 6834845 y = 6844101 y = 6853325 y = 6862581 y = 6871945 y = 6881297 y = 6890537 y = 6899837 y = 6909173 y = 6918461 y = 6927789 y = 6937097 y = 6946481 y = 6955913 y = 6965229 y = 6974573 y = 6983829 y = 6993261 y = 7002673 y = 7011977 y = 7021433 y = 7030813 y = 7040237 y = 7049629 y = 7059001 ...

Assertion failed.