0

The problem of skee-ball.

There seems to be some problem with the answer. I'm pretty sure i got it correct but the app says no. My code is, https://www.sololearn.com/coach/21?ref=app

6th Sep 2020, 2:37 PM
Pavithra Chandrasena
12 ответов
0
Pavithra Chandrasena you are not taking input values....
6th Sep 2020, 4:47 PM
Jayakrishna 🇮🇳
+ 2
Pavithra Chandrasena for my C++ solution the only function I used was the floor() function to get an answer rounded down to a whole number.
6th Sep 2020, 4:36 PM
Roderick Davis
Roderick Davis - avatar
+ 1
That link goes to the problem, not your solution. Also tag or mention which language you are using
6th Sep 2020, 4:31 PM
Roderick Davis
Roderick Davis - avatar
+ 1
Others can't see the code in the link, it is private.. So save code in playground and share link here..
6th Sep 2020, 4:31 PM
Jayakrishna 🇮🇳
+ 1
I'm using c++ and I've just begun. So i would so appreciate any help. I'll share the link.
6th Sep 2020, 4:33 PM
Pavithra Chandrasena
+ 1
I just figured out where i went wrong. I haven't added any code to take the inputs. A silly mistake.
6th Sep 2020, 4:41 PM
Pavithra Chandrasena
+ 1
Jayakrishna🇮🇳 correct, I did this a while ago. I see that was unnecessary
6th Sep 2020, 4:45 PM
Roderick Davis
Roderick Davis - avatar
0
This problem not need of any rounding..
6th Sep 2020, 4:38 PM
Jayakrishna 🇮🇳
6th Sep 2020, 4:44 PM
Pavithra Chandrasena
0
Thank you for your help everyone. Appreciate a lot.
6th Sep 2020, 4:53 PM
Pavithra Chandrasena
0
Pavithra Chandrasena you're welcome....
6th Sep 2020, 4:54 PM
Jayakrishna 🇮🇳
0
x=int(input()) y=int(input()) if ((x/12)>=y): print("Buy it!") else: print("Try again") It's simple and easy try copy pasting in exact same way.
31st May 2022, 11:28 AM
Hrithika Reddy
Hrithika Reddy - avatar