summaryrefslogtreecommitdiffstats
path: root/01-algorithmic_toolbox/02-greedy_algorithms/01-change/change.cpp
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-11-13 19:06:14 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-11-13 20:30:08 +0100
commite72410168143db1b79ee30e47d68cca2d730f740 (patch)
tree9aa348a93d9d55e8935587eea7c45e0562d73c4c /01-algorithmic_toolbox/02-greedy_algorithms/01-change/change.cpp
parent0f13a35dee0df21f4c1a387b50582a958c7bc439 (diff)
downloadcoursera-e72410168143db1b79ee30e47d68cca2d730f740.zip
coursera-e72410168143db1b79ee30e47d68cca2d730f740.tar.gz
Algorithms : add 01-algorithmic_toolbox 02-greedy_algorithms
Diffstat (limited to '01-algorithmic_toolbox/02-greedy_algorithms/01-change/change.cpp')
-rw-r--r--01-algorithmic_toolbox/02-greedy_algorithms/01-change/change.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/01-algorithmic_toolbox/02-greedy_algorithms/01-change/change.cpp b/01-algorithmic_toolbox/02-greedy_algorithms/01-change/change.cpp
new file mode 100644
index 0000000..e25cd67
--- /dev/null
+++ b/01-algorithmic_toolbox/02-greedy_algorithms/01-change/change.cpp
@@ -0,0 +1,12 @@
+#include <iostream>
+
+int get_change(int n) {
+ //write your code here
+ return n;
+}
+
+int main() {
+ int n;
+ std::cin >> n;
+ std::cout << get_change(n) << '\n';
+}