Brainly.in
What is your question?
Secondary School Computer science 5 points
Cubical Subsets
u are given two sets of numbers A and B. You should find a subset A'of A and another subset B' of B such
1. A' and B' are non-empty.
2. For each element a in A' and each element b in B', a *b is a perfect cube.
3. JA'^2 + B'|2 is maximized (we denote by JA'| the number of elements of A', the same goes for
put Format:
e first line contains an integer T representing the number of test cases that will follow.
ch test case consists of three lines:
first line contains two integer N and M, represenöing the size of A and the size of B, respectively.
second line contains the N values of A.
third line contains the M values of B.
straints:
Answers
Answered by
1
Answer:
Soooo big question. Mark me brainliest please please ✌️
Similar questions
English,
4 months ago
English,
4 months ago
English,
4 months ago
English,
8 months ago
Environmental Sciences,
11 months ago