0_0_37398290_1646.cpp: In function 'int main()':
0_0_37398290_1646.cpp:39:6: error: expected primary-expression before 'if'
if (x >= s[i].x1 && x <= s[i].x2 && x >= s[j].x1 && x <= s[j].x2)
^
0_0_37398290_1646.cpp:39:6: error: expected ';' before 'if'
0_0_37398290_1646.cpp:39:6: error: expected primary-expression before 'if'
0_0_37398290_1646.cpp:39:6: error: expected ')' before 'if'
0_0_37398290_1646.cpp: At global scope:
0_0_37398290_1646.cpp:44:3: error: 'cout' does not name a type
cout << total << endl;
^
0_0_37398290_1646.cpp:45:2: error: expected declaration before '}' token
}
^
|