Problem | f7 |
---|---|
User | PlayVoltz |
Submission Time | 2023-09-13 14:06:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
f7.cpp: In function ‘int main()’:
f7.cpp:6:9: error: expected ‘]’ before ‘;’ token
6 | int a[n;
| ^
| ]
f7.cpp:7:37: error: ‘a’ was not declared in this scope
7 | for (int i = 0; i < n; i++) cin >> a[i];
| ^
f7.cpp:8:7: error: ‘a’ was not declared in this scope
8 | sort(a, a + n);
| ^