Problem | gentlepairs |
---|---|
User | dieunq1309 |
Submission Time | 2024-06-16 20:40:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gentlepairs.cpp: In function ‘int main()’:
gentlepairs.cpp:18:7: error: expected ‘(’ before ‘{’ token
18 | for {int j = i+1, j < n; j++){
| ^
| (
gentlepairs.cpp:18:7: error: expected primary-expression before ‘{’ token
gentlepairs.cpp:25:1: error: expected primary-expression before ‘}’ token
25 | }
| ^
gentlepairs.cpp:24:24: error: expected ‘)’ before ‘}’ token
24 | cout << count << endl;
| ^
| )
25 | }
| ~
gentlepairs.cpp:18:7: note: to match this ‘(’
18 | for {int j = i+1, j < n; j++){
| ^
gentlepairs.cpp:25:1: error: expected primary-expression before ‘}’ token
25 | }
| ^
gentlepairs.cpp:25:1: error: expected ‘}’ at end of input
gentlepairs.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^