|
|
back to boardWrong answer #17 (C++) Posted by Kirill 2 Apr 2015 11:56 #include <iostream> using namespace std; int main() { int N; cin >> N; if(1 <= N && N <= 4) cout << "few"; if(5 <= N && N <= 9) cout << "several"; if(10 <= N && N <= 19) cout << "pack"; if(20 <= N && N <= 49) cout << "lots"; if(50 <= N && N <= 99) cout << "orde"; if(100 <= N && N <= 249) cout << "throng"; if(250 <= N && N <= 499) cout << "swarm"; if(500 <= N && N <= 999) cout << "zounds"; if(1000 <= N && N <= 2000) cout << "legion";
return 0; } Edited by author 02.04.2015 12:07 Re: Wrong answer #17 (C++) cout << "orde"; wrong cout << "horde"; ac |
|
|