#include <iostream> using namespace std; int main () { int c, n; cin >> c >> n; if ( c>n) cout<< n (n-c/2) else cout << c << (n-c) /2; }
3 1
prog.cpp: In function ‘int main()’: prog.cpp:8:20: error: ‘n’ cannot be used as a function cout<< n (n-c/2) ^
Standard output is empty