运行 ID: 73684

Main.cc: In function ‘int main()’:
Main.cc:14:5: error: ‘sum’ was not declared in this scope
     sum++;
     ^~~
Main.cc:18:11: error: ‘sum’ was not declared in this scope
   cout << sum << endl;
           ^~~