Problem | markinghouses |
---|---|
User | shoryu386 |
Submission Time | 2023-02-11 07:11:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
markinghouses.cpp: In function ‘int main()’:
markinghouses.cpp:52:45: error: expected primary-expression before ‘if’
52 | for (int x = 0; x < n; x++) cin >> arr[x], if (arr[x] != x+1) {meow = false;};
| ^~