Search found 1 match

by prakashn27
Sat Mar 19, 2016 12:28 am
Forum: Volume 5 (500-599)
Topic: 573 - The Snail
Replies: 45
Views: 27903

Re: 573 - The Snail

Hi can anyone help me with this code. I am getting wrong answer for a test case. Problem: 573 - The Snail


int main() {
int h, u, d, f;

cin >> h;
while(h != 0) {
cin >> u >> d >> f;
//cout << "inputs are " << h << u << d << f << endl;
float initial_ht = 0.0, dist_climbed = (float)u, height ...

Go to advanced search