SHARE
TWEET

Untitled

a guest Nov 15th, 2017 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. -#### << Expected answer was >> -----------------------------------------
  3. Amount Coins
  4.   1p   1 coin  1p
  5.   2p   1 coin  2p
  6.   3p   2 coins 2p 1p
  7.   4p   2 coins 2*2p
  8.   5p   1 coin  5p
  9.   6p   2 coins 5p 1p
  10.   7p   2 coins 5p 2p
  11.   8p   3 coins 5p 2p 1p
  12.   9p   3 coins 5p 2*2p
  13.  10p   1 coin  10p
  14.  20p   1 coin  20p
  15.  30p   2 coins 20p 10p
  16.  40p   2 coins 2*20p
  17.  50p   1 coin  50p
  18.  60p   2 coins 50p 10p
  19.  70p   2 coins 50p 20p
  20.  80p   3 coins 50p 20p 10p
  21.  90p   3 coins 50p 2*20p
  22. 100p   1 coin  100p
  23. 200p   1 coin  200p
  24. 300p   2 coins 200p 100p
  25. 400p   2 coins 2*200p
  26. 500p   3 coins 2*200p 100p
  27. -------------------------------------------------------------------------
  28.  
  29. -#### << Your answer [Excluding lines containing a #] >> ----------------
  30. Amount Coins
  31.  
  32. 1p  1 coins        1p
  33. 2p  1 coins       2p  
  34. 3p  2 coins       2p 1p
  35. 4p  2 coins       2*2p  
  36. 5p  1 coins      5p  
  37. 6p  2 coins      5p  1p
  38. 7p  2 coins      5p 2p  
  39. 8p  3 coins      5p 2p 1p
  40. 9p  3 coins      5p 2*2p  
  41. 10p  1 coins     10p    
  42. 20p  1 coins    20p    
  43. 30p  2 coins    20p 10p    
  44. 40p  2 coins    2*20p    
  45. 50p  1 coins   50p      
  46. 60p  2 coins   50p  10p    
  47. 70p  2 coins   50p 20p    
  48. 80p  3 coins   50p 20p 10p    
  49. 90p  3 coins   50p 2*20p    
  50. 100p  1 coins  100p      
  51. 200p  1 coins 200p        
  52. 300p  2 coins 200p 100p      
  53. 400p  2 coins 2*200p        
  54. 500p  3 coins 2*200p 100p
RAW Paste Data
Top