It is not working anymore, bcs it was invalidated by introducing BigInt instead strings before.
This comment is hidden because it contains spoiler information about the solution
Your forumla is correct, but remember that you have two dimensions here.
https://www.codewars.com/kata/reviews/638c97f52e6f410001ee2b45/groups/6485e0d13dad1a0001978c08
This kata needs more tests + random tests too.
This kata need more tests
Ok, calculating center of mass does the job correctly.
18-hole (k=5): [1,0,0,0,0,1,1,0,0,0,0,0,1,0,1,0,0,0]
Can someone explain to me how is this balanced?
Is it unsolvable?
Server Execution Error: Missing language Request Error: Request failed with status code 422 Please fix the issue and try again.
What do these errors mean?
If this solution is correct it means tests are weak.
https://instacode.app/run/FAYwNghgzlAEDKBTALgYQHbNgb2LWAxALYQAOsAvLOogO6wCyZAFAJQDcesXIA9ulGQAnAK4hkvIcwCWyRENY4u+AGaTYzPgKyIwsXitiz5sAPynYAbQC6i3PgexkAC2lQAdBAAmX5ro7KsAC+XCFc3r7+So5agrAgmJROrh4JyH5gAY4ubu7EZO5QKBkANPGJANSwAIxZDkIoIkLoyW6c+GH4ztAZdoENyE0tOR75pO7dUL3twcBcXrooiL3RDtKGzACEI3kk45O9igNDsCoQYEUz+LFYaUk7adOB6xp3FO81R43NrR4LYEsAIJgMBPbIpXYFIrpXRlO4AWk+V1gxx+whEiBmIXw80WcmBoKi9gcOzG7n+SzB9W+w1EmNCc2umBWxPwqOGELJAHNilFzLAAAxYrhcABUlngAE8iAAjXhgdzGIQQCRCaxsVaqdSafhxXT6QykvZ9Rz4SXSXReWC6ZHY2ZcRCYIQWqYm6mDNEpYVigBu5wxrs1p21NyssPKyGsBt+kNIbsc5st1rAtoZYoA1ohJYHWcGhK9dVhLOG0lGDDGxvGHImwFa0qmOsAwqH0CJZfIAPIqAAKEGkQjgVAgQnzFAAfKtQ9CkjR6Eg0MzhwoZuyrO519D3Jns2xrO4Gl4xMtmFAyohFOPYHAqohYAB6WAAJlgAB9BWUBQEgpxgK320Iu17fspksAAiA9QLKUCuQaR1INgcDEC8eDQJlMAMRQtCMNsYAgA
Worst practice...
Loading collection data...
It is not working anymore, bcs it was invalidated by introducing BigInt instead strings before.
This comment is hidden because it contains spoiler information about the solution
Your forumla is correct, but remember that you have two dimensions here.
https://www.codewars.com/kata/reviews/638c97f52e6f410001ee2b45/groups/6485e0d13dad1a0001978c08
This kata needs more tests + random tests too.
This kata need more tests
Ok, calculating center of mass does the job correctly.
18-hole (k=5): [1,0,0,0,0,1,1,0,0,0,0,0,1,0,1,0,0,0]
Can someone explain to me how is this balanced?
Is it unsolvable?
What do these errors mean?
If this solution is correct it means tests are weak.
https://instacode.app/run/FAYwNghgzlAEDKBTALgYQHbNgb2LWAxALYQAOsAvLOogO6wCyZAFAJQDcesXIA9ulGQAnAK4hkvIcwCWyRENY4u+AGaTYzPgKyIwsXitiz5sAPynYAbQC6i3PgexkAC2lQAdBAAmX5ro7KsAC+XCFc3r7+So5agrAgmJROrh4JyH5gAY4ubu7EZO5QKBkANPGJANSwAIxZDkIoIkLoyW6c+GH4ztAZdoENyE0tOR75pO7dUL3twcBcXrooiL3RDtKGzACEI3kk45O9igNDsCoQYEUz+LFYaUk7adOB6xp3FO81R43NrR4LYEsAIJgMBPbIpXYFIrpXRlO4AWk+V1gxx+whEiBmIXw80WcmBoKi9gcOzG7n+SzB9W+w1EmNCc2umBWxPwqOGELJAHNilFzLAAAxYrhcABUlngAE8iAAjXhgdzGIQQCRCaxsVaqdSafhxXT6QykvZ9Rz4SXSXReWC6ZHY2ZcRCYIQWqYm6mDNEpYVigBu5wxrs1p21NyssPKyGsBt+kNIbsc5st1rAtoZYoA1ohJYHWcGhK9dVhLOG0lGDDGxvGHImwFa0qmOsAwqH0CJZfIAPIqAAKEGkQjgVAgQnzFAAfKtQ9CkjR6Eg0MzhwoZuyrO519D3Jns2xrO4Gl4xMtmFAyohFOPYHAqohYAB6WAAJlgAB9BWUBQEgpxgK320Iu17fspksAAiA9QLKUCuQaR1INgcDEC8eDQJlMAMRQtCMNsYAgA
Worst practice...
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...