summaryrefslogtreecommitdiff
path: root/9p18.cpp
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-10-12 15:06:05 +0200
committerOskar <[email protected]>2024-10-12 15:06:05 +0200
commit428d857359b5d8b639ca41b03ca8fc8b3d143a50 (patch)
tree6c6291c2404386673ef6cd65ad435374e519d35b /9p18.cpp
parentf46aaa42631113d83bc211a9db4f85ef68afdc92 (diff)
more
Diffstat (limited to '9p18.cpp')
-rw-r--r--9p18.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/9p18.cpp b/9p18.cpp
new file mode 100644
index 0000000..e7df6fa
--- /dev/null
+++ b/9p18.cpp
@@ -0,0 +1,25 @@
+#include <iostream>
+#include <deque>
+
+/*
+ *
+ * 9.18
+ *
+ *
+ */
+
+int main () {
+
+ std::string input;
+ std::deque<std::string> ds;
+ while(std::cin >> input) {
+ ds.push_back(input);
+ }
+
+ for(auto cbeg = ds.cbegin() ; cbeg != ds.cend() ; ++cbeg) {
+ std::cout << *cbeg << " ";
+ }
+
+ std::cout << std::endl;
+ return 0;
+}