1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #include <iostream> int main() { int target; std::cin >> target; while (target!=0) { std::cout << target-- << std::endl; } std::cout << "0!!"; return 0; } |
Direct link: https://paste.plurk.com/show/2321888
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #include <iostream> int main() { int target; std::cin >> target; while (target!=0) { std::cout << target-- << std::endl; } std::cout << "0!!"; return 0; } |