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.
Hello, i can't understand, where i'm wrong. As i'm correctly understand, we need to check whenever for every element of array 'a' we have corresponding element in 'b' array, which is squared element of 'a' element.
Several tests:
copy_a array:
0)1187 1)5876 2)7748 3)10756 4)12984 5)25757 6)29591 7)38399 8)39322 9)39358 10)39552 11)39562 12)40712 13)40741 14)41795 15)45803
copy_b array:
0)1408969 1)34527376 2)60031504 3)115691536 4)168584256 5)663423040 6)875627264 7)1474483200 8)1546219684 9)1549052160 10)1564360704 11)1565151872 12)1657466880 13)1659829120 14)1746822016 15)2097914809
copy_a[i]*copy_a[i] ||| copy_b[i]
0)1408969 1408969
1)34527376 34527376
2)60031504 60031504
3)115691536 115691536
4)168584256 168584256
5)663423049 663423040
6)875627281 875627264
7)1474483201 1474483200
8)1546219684 1546219684
9)1549052164 1549052160
10)1564360704 1564360704
11)1565151844 1565151872
12)1657466944 1657466880
13)1659829081 1659829120
14)1746822025 1746822016
15)2097914809 2097914809
a = {-5876, 40712, 39552, 10756, 29591, -38399, 39358, -1187, -39562, -25757, 40741, 39322, 41795, 7748, 12984, 45803}
b = {1746822025, 115691536, 1408969, 663423049, 1659829081, 1549052164, 1546219684, 168584256, 1474483201, 2097914809, 1657466944, 1564360704, 1565151844, 875627281, 60031504, 34527376}
copy_a array:
0)1334 1)4130 2)6756 3)7990 4)12959 5)13382 6)17229 7)18997 8)19036 9)19171 10)22768 11)27529 12)28827 13)29575 14)37833 15)38508 16)39251 17)44311 18)45428
copy_b array:
0)1779556 1)17056900 2)45643536 3)63840100 4)167935680 5)179077920 6)296838432 7)360886009 8)362369280 9)367527232 10)518381824 11)757845824 12)830995904 13)874680625 14)1431335889 15)1482866048 16)1540641024 17)1963464721 18)2063703184
copy_a[i]*copy_a[i] ||| copy_b[i]
0)1779556 1779556
1)17056900 17056900
2)45643536 45643536
3)63840100 63840100
4)167935681 167935680
5)179077924 179077920
6)296838441 296838432
7)360886009 360886009
8)362369296 362369280
9)367527241 367527232
10)518381824 518381824
11)757845841 757845824
12)830995929 830995904
13)874680625 874680625
14)1431335889 1431335889
15)1482866064 1482866048
16)1540641001 1540641024
17)1963464721 1963464721
18)2063703184 2063703184
a = {19036, -37833, -13382, 38508, -22768, -1334, -6756, 19171, -39251, 4130, -17229, 28827, -27529, -45428, -7990, 44311, -12959, 29575, 18997}
b = {360886009, 296838441, 1540641001, 45643536, 362369296, 63840100, 1431335889, 1779556, 167935681, 518381824, 179077924, 874680625, 2063703184, 17056900, 1482866064, 1963464721, 830995929, 757845841, 367527241}
'9'