Problem | consistency |
---|---|
User | chenweilian |
Submission Time | 2023-02-16 19:21:49 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
consistency.cpp: In function ‘int main()’:
consistency.cpp:20:187: error: expected ‘)’ before ‘{’ token
20 | else if(n >= 3 && ((arr[0] == arr[1] && arr[1] == arr[2]) || (arr[0] == arr[1] && arr[1] == arr[3] || (arr[0] == arr[3] && arr[3] == arr[2]) || (arr[1] == arr[3] && arr[3] == arr[2]))) {
| ~ ^~
| )
consistency.cpp:29:2: error: expected primary-expression before ‘}’ token
29 | }
| ^