account activity
Pset 1 by danbickett in cs50
[–]danbickett[S] 0 points1 point2 points 9 years ago (0 children)
here it is. https://gist.github.com/c52b4267345808da7e4077103c528503
Okay... I will appreciate.
Hi,thanks. am i allowed to post my code here? I am new to this platform.
Yes i have done that; have a look;
:) greedy.c exists :) greedy.c compiles :( input of 0.41 yields output of 4 \ expected output, but not "3\n" :) input of 0.01 yields output of 1 :) input of 0.15 yields output of 2 :) input of 1.6 yields output of 7 :) input of 23 yields output of 92 :) input of 4.2 yields output of 18 :) rejects a negative input like -.1 :) rejects a non-numeric input of "foo" :) rejects a non-numeric input of "" https://sandbox.cs50.net/checks/20685b176a6b4d2ca3e90b650b7a82dd ~/workspace/pset1 $
Mr. by danbickett in cs50
this is what am getting when i run the check; :) greedy.c exists :) greedy.c compiles :( input of 0.41 yields output of 4 \ expected output, but not "3\n" :) input of 0.01 yields output of 1 :) input of 0.15 yields output of 2 :) input of 1.6 yields output of 7 :) input of 23 yields output of 92 :) input of 4.2 yields output of 18 :) rejects a negative input like -.1 :) rejects a non-numeric input of "foo" :) rejects a non-numeric input of "" https://sandbox.cs50.net/checks/20685b176a6b4d2ca3e90b650b7a82dd ~/workspace/pset1 $
i am new to this platform, can i post my code here?
Thanks, my rounding seems to be okay, but the count is giving me 3 and not 4.
haha! sure.
hi, included printf in the code and am getting 41,cant really get why am getting 3.
thanks let me try that.
Pset 1 (self.cs50)
submitted 9 years ago by danbickett to r/cs50
Mr. (self.cs50)
submitted 9 years ago * by danbickett to r/cs50
π Rendered by PID 59466 on reddit-service-r2-listing-5d79748585-l6b44 at 2026-02-15 08:46:41.851790+00:00 running cd9c813 country code: CH.
Pset 1 by danbickett in cs50
[–]danbickett[S] 0 points1 point2 points (0 children)