AmanRanaTG
AmanRanaTG AmanRanaTG
  • 01-10-2016
  • Computers and Technology
contestada

At the moment i am tackling the cs50x projects and i need a little bit of help with problem set 1, the 'greedy algorithm'. I am unsure why my program doesn't work. Can you please help me troubleshoot? My program is attached: The answer to the attached terminal pic is supposed to be 4.

At the moment i am tackling the cs50x projects and i need a little bit of help with problem set 1 the greedy algorithm I am unsure why my program doesnt work Ca class=
At the moment i am tackling the cs50x projects and i need a little bit of help with problem set 1 the greedy algorithm I am unsure why my program doesnt work Ca class=

Respuesta :

emojis123456789 emojis123456789
  • 04-10-2016
that you have to multiply first and then divide
Answer Link

Otras preguntas

It was a bad day for sales ,with the shoppers drifting ————,unwilling to ———
perimeter of square​
Why did landing in Massachusetts cause a problem for the passengers?
If the earth weighs 120 lbs and now weighs 90 lbs and Venus weighed 109.2 lbs what would Venus now weigh
Which of the following is an observation that supports natural selection? Some organisms can pass down some traits that they have acquired throughout their li
what is 9d² +12d + 1 = -3​
give me a 400 word story​
The the best units to use for Molar Mass would be: kg/mol. True False
Baker purchased a dozen golf balls for $.12.50, a bag of tees for $1.79, and a golf shirt for $27.99. He paid $2.96 in sales tax. What was his Change from $50.0
It scraped on my raw nerves like sandpaper figurative language