Run id: 79690
Main.cc: In function 'int main()':
Main.cc:8:10: error: 'head' was not declared in this scope
cin >> head >> wei;
^
Main.cc:8:18: error: 'wei' was not declared in this scope
cin >> head >> wei;
^
Main.cc:10:15: error: 'head' was not declared in this scope
for (int j = head; j <= wei; j++) {
^
Main.cc:10:26: error: 'wei' was not declared in this scope
for (int j = head; j <= wei; j++) {
^
Main.cc: At global scope:
Main.cc:15:1: error: expected unqualified-id before 'for'
for (int i = 0; i <= 1; i++) {
^
Main.cc:15:17: error: 'i' does not name a type
for (int i = 0; i <= 1; i++) {
^
Main.cc:15:25: error: 'i' does not name a type
for (int i = 0; i <= 1; i++) {
^
Main.cc:21:1: error: 'cout' does not name a type
cout << count;
^