Language: C++

#Include <iostream>
#include <vector>                                                                      
                                                                                        
using namespace std;                                                                    
                                                                                        
int main(void) {                                                                        
  int r, c;                                                                             
  cin >> r >> c;                                                                        
  vector<vector<int> > v(r+1,vector<int>(c+1,0));                                       
  for (int i=0; i<r; i++) {                                                             
    for(int j=0; j<c; j++) {                                                            
      cin >> v[i][j];                                                                   
      v[i][c]+=v[i][j];                                                                 
    }                                                                                   
  }                                                                                     
                                                                                        
  for(int j=0;j<c+1;j++){                                                               
    for(int i=0;i<r;i++){                                                               
      v[r][j]+=v[i][j];                                                                 
    }                                                                                   
  }                                                                                     
                                                                                        
  for (int i=0; i<r+1; i++) {                                                           
    for (int j=0; j<c+1; j++) {                                                         
      if (j != 0) {                                                                     
        cout << " " << flush;                                                           
      }                                                                                 
      cout << v[i][j] << flush;                                                         
    }                                                                                   
    cout << endl;                                                                       
  }                                                                                     
}                                          

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #Include; did you mean #include?
    1 | #Include <iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:8:3: error: 'cin' was not declared in this scope
    8 |   cin >> r >> c;
      |   ^~~
a.cc:3:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    2 | #include <vector>
  +++ |+#include <iostream>
    3 | 
a.cc:26:9: error: 'cout' was not declared in this scope
   26 |         cout << " " << flush;
      |         ^~~~
a.cc:26:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:26:24: error: 'flush' was not declared in this scope
   26 |         cout << " " << flush;
      |                        ^~~~~
a.cc:3:1: note: 'std::flush' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
    2 | #include <vector>
  +++ |+#include <ostream>
    3 | 
a.cc:28:7: error: 'cout' was not declared in this scope
   28 |       cout << v[i][j] << flush;
      |       ^~~~
a.cc:28:7: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:28:26: error: 'flush' was not declared in this scope
   28 |       cout << v[i][j] << flush;
      |                          ^~~~~
a.cc:28:26: note: 'std::flush' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:30:5: error: 'cout' was not declared in this scope
   30 |     cout << endl;
      |     ^~~~
a.cc:30:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:30:13: error: 'endl' was not declared in this scope
   30 |     cout << endl;
      |             ^~~~
a.cc:30:13: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'