Given two given numbers a and b where 1<=a<=b, find the perfect cubes between a and b (a and b inclusive).
First line of input contains number of test cases T. Each line of test case contain numbers 'a' and 'b' separated by a single space.
Perfect cubes between a & b are displayed. If there are no perfect cubes between a & b then print "No".
1 <= T <= 50
1 <= a <= b <= 10000
1 8 27 64
27 64 125 216 343 512
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.