Money Changing
Submit solution
Points:
1 (partial)
Time limit:
1.0s
Memory limit:
98M
Author:
Problem type
Allowed languages
Ada, Assembly, Awk, C, C++, C11, CLANG, CLANGX, Classical, COBOL, Coffee, CSC, D lang, DART, F95, FORTH, Fortrn, GAS32, GO, Haskell, Itercal, Java, kotlin, LEAN, LISP, LUA, MONOVB, Nasm, OCAML, Pascal, Perl, php, PIKE, prolog, Pypy, Python, Ruby 2, RUST, Scala, SCM, SED, SWIFT, TCL, TUR, V8JS, VB, ZIG
Minh go shopping at the SS shop. The shop has currency denominations:
Minh takes some items at the shop and pay an amount of
Input
The input consists of only one single integer
Output
The output consists of only one single integer denoting the number of money notes.
Example
Input
Copy
380
Output
Copy
4
Explanation
The shop has to pay back
Comments