#include <iostream>
using namespace std;
int main() { int a, b; while (cin >> a >> b) { cout << ( a + b ) << endl; } return 0;}
正常情况G++是不会有问题的,这题评测鸡应该是有问题,你交VC++就可以