Problem
BboyCico0313 · 2017-11-06 21:28:04
hi there i use scanf instead of cin and (Output Limit Exceeded) this happened !! this is wrong my code will produce only 1 line output and that's the answer. take a look at my code please ./
include includeusing namespace std;
int main() { int x, y; while (scanf("%u%u", &x, &y)) { cout << x + y << endl; } return 0; }
pages:
- 1