#include <iostream>using namespace std; int main() { int i, j;cin >> i;j = i;if (i >= 9)i += 9 - i;j /= i;cout << j;}
Standard input is empty
3640
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!