diff options
Diffstat (limited to '9p18.cpp')
-rw-r--r-- | 9p18.cpp | 25 |
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; +} |