Problem | mirrors |
---|---|
User | Shauryaw |
Submission Time | 2025-06-20 13:25:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mirrors.cpp: In function ‘int main()’:
mirrors.cpp:7:8: error: ‘i’ was not declared in this scope
7 | int a[i];
| ^
mirrors.cpp:9:10: error: ‘a’ was not declared in this scope
9 | cin >> a[i];
| ^
mirrors.cpp:11:7: error: ‘a’ was not declared in this scope
11 | sort(a, a +n);
| ^
mirrors.cpp:15:29: error: expected ‘]’ before ‘)’ token
15 | } else if (a[0] == (a[1 + 1)) {
| ^
| ]