From 428d857359b5d8b639ca41b03ca8fc8b3d143a50 Mon Sep 17 00:00:00 2001 From: Oskar Date: Sat, 12 Oct 2024 15:06:05 +0200 Subject: more --- 9p18.cpp | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 9p18.cpp (limited to '9p18.cpp') 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 +#include + +/* + * + * 9.18 + * + * + */ + +int main () { + + std::string input; + std::deque 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; +} -- cgit v1.2.3