Ask a Question | Answer a Question! |

Submitting your question...
ResFinder - Thousands of Practice Papers
Your task is to construct a building which will be a pile of n cubes. The cube at the bottom will have a volume of n^3, the cube above will have volume of (n-1)^3 and so on until the top which will have a volume of 1^3.
You are given the total volume m of the building. Being given m can you find the number n of cubes you will have to build?
The parameter of the function findNb (find_nb, find-nb, findNb) will be an integer m and you have to return the integer n such as n^3 + (n-1)^3 + ... + 1^3 = m if such a n exists or -1 if there is no such n. |
 |
asked by Ray (ray18) 8 years ago |
2 |
Other Questions on This Topic
https://www.respaper.com/ |
 |
asked by Sujata Kundu (mumpi_1989) 36 days ago |
1 |
+ 3 more questions by mumpi_1989
I'm talking about this website! |
 |
asked by Sujata Kundu (mumpi_1989) 36 days ago |
1 |
There is membership access right... I want to do that... In order to be a member I must pay... How will I do that? Is there any UPI option for payment?? |
 |
asked by Sujata Kundu (mumpi_1989) 36 days ago |
1 |
Is there any UPI option for payment??? Please help???? |
 |
asked by Sujata Kundu (mumpi_1989) 36 days ago |
1 |
i'm unable to download papers |
 |
asked by Tsa (rajpurohit14) 127 days ago |
1 |
Class 9 final question paper |
 |
asked by Armaan Mandal (arms10) 151 days ago |
0 |
How to contact respaper |
 |
asked by Insha Naz Fatima (sarahmeh) 174 days ago |
1 | + 2 more questions by sarahmeh
How to contact |
 |
asked by Insha Naz Fatima (sarahmeh) 174 days ago |
1 |
Hii I have uploaded my school paper yet I have not gotten access to any other paper...why??? Did it happen with someone else too??🙃 |
 |
asked by Insha Naz Fatima (sarahmeh) 174 days ago |
1 |
8th Icse question papers |
 |
asked by Aparna Narayan (aparna1974) 275 days ago |
1 |
What's up people? Does anyone I know ever visit this place? If yes please just hit me up with a "hi" I would love to chat haha... Take care everyone :)) |
 |
asked by Anshika Jaiswal (anshika28) 287 days ago |
4 |
What is the difference between steam turbines and gas turbines? |
 |
asked by Yogesh (yogesh) 1 year ago |
1 | + 2 more questions by yogesh
who is jessica's father in merchant of venice? |
 |
asked by Yogesh (yogesh) 1 year ago |
1 |
What is "how are you" in French? |
 |
asked by Yogesh (yogesh) 1 year ago |
1 |
I've got an endsem exam in an hour but all I am doing is reading old threads on res. 🥲 |
 |
asked by Nisarg Bhavsar (nisarg71) 1 year ago |
3 |
Hlooo..itzz been longgg...ICSE 2018 batch anybody?? |
 |
asked by Snigdha (silver2002) 1 year ago |
3 |
| | |