Ask a Question | Answer a Question! |
![](/img/l.gif)
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. |
![](//pl.respaper.com/64/ray18.jpg) |
asked by Ray (ray18) 7 years ago |
2 |
In school , I do not write comments while programming yet I get marks .
So , is it necessary to write comments in Boards ? |
![](//pl.respaper.com/64/raj_2301.jpg) |
asked by Rajarshi Ganguly (raj_2301) 7 years ago |
3 |
What are Coprime numbers? |
![](//pl.respaper.com/64/mahekshivnani.jpg) |
asked by Mahek Shivnani (mahekshivnani) 7 years ago |
4 |
Can any one suggest the code for :
* * * *
* *
* *
* * * * |
![](//pl.respaper.com/64/sahilp007.jpg) |
asked by Sahil Prasad (sahilp007) 7 years ago |
2 |
Do we have Bitwise operators in our syllabus ?? |
![](//pl.respaper.com/64/pranjali2806.jpg) |
asked by Pranjali Sharma (pranjali2806) 7 years ago |
1 |
**notes for those who find this confusing **
TYPE CASTING/CONVERSION is implicit +explicit
COERCION is implicit
CASTING is explicit. |
![](//pl.respaper.com/64/booksboozer.jpg) |
asked by Deblina Bora (booksboozer) 7 years ago |
1 |
ANY TDA STUDENT HERE? YA SAB COMP XD! |
![](//pl.respaper.com/64/shivaanee22.jpg) |
asked by Shivaanee sharma (shivaanee22) 7 years ago |
2 |
Write a program to accept a sentence and delete all the uppercase characters present in the string. The program also counts the number of deleted characters and also replace the vowels with "*" . Print the new replaced string.
Sample input : The Capital of India is New Delhi.
Output : h* *p*t*l *f nd** *s *w *lh*. |
![](//pl.respaper.com/64/evanjasonhenry.jpg) |
asked by Evan Jason (evanjasonhenry) 7 years ago |
2 |
Write a java program to input a sentence and to display sentence in reverse order. |
![](//pl.respaper.com/64/anugrahkapoor24.jpg) |
asked by Anugrahkapoor24 (anugrahkapoor24) 7 years ago |
2 |