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

I don't understand the question - for that reason I don't know what to do to answer it. Can someone help please ?
What is cotton(Help quickly)
How did Louis Napoleon Bonaparte gain power?
Explain how the Federal Reserve may use the discount rate and the reserve requirement to increase the money supply. What impact should these actions have on emp
Write the explicit formula that represents the geometric sequence-2, 8, -32, 128
If the 50.0 kg boy were in a spacecraft 5r from the center of the earth, what would his weight be? (use the 50.0 kg boy for significant figures)
Why does epithelial tissue require a connective tissue?
Is this answer correct?
________ is a neurotransmitter with roles in pleasure and pain modulation.
use 9 unit multiples to convert 10,000 cubic centimeters to cubic miles