#include #include int szel; char buff[100]; int max(int x, int y) { return (x < y ? y : x); } void szamki(int n) { sprintf(buff, "%d", n); int h = strlen(buff); for (int i=0; i> esetek; while (esetek--) { int a, b; char op; cin >> a; cin.get(op); cin >> b; if (op == '+' || op == '-' || b < 10) egyszeru(a, b, op); else bonyolult(a, b); cout << "\n"; } }