Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
In fact, it only needs to be judged:
The square of all the elements in the array a appears in the array b
No need to judge:
All the elements in the array b have a square root in the array a
Complete it in c# 6 month ago
The same issue in Test 5
Test5
✘ Expected: True
But was: False
at AreTheySameTests.Test5 () <0x40826f20 + 0x0009f> in :0
a [ 121 144 19 161 19 144 19 11 1008 ]
b [ 121 14641 20736 36100 25921 361 20736 361 ]
Not found 190
190 * 190 = 36100 that is exists in b
but there are no 190 in a
Post your failed test otherwise one can't understand your post. Did you print input and output to see what happens?
The test case for 5 is broken. 190 is not in a. Therefore false. The instructions even match that exact case
There are no errors in test 5. Did you think to corner cases?
I'm having the same issue here as well. I cannot get #5 to pass...
I don't see any error in test cases of C#. In the 1st test (test 5) True is expected but you gave False... In the 2nd test (test 6) you have 36100 in b but no square root of 36100 in a, so... you have to read again the description:-)