Problem | mirrors |
---|---|
User | hitarthdangra |
Submission Time | 2025-06-20 14:21:01 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mirrors.cpp: In function ‘int main()’:
mirrors.cpp:7:28: error: expected ‘]’ before ‘;’ token
7 | int B[300005], temp[300005;
| ^
| ]
mirrors.cpp:19:22: error: expected ‘;’ before ‘<=’ token
19 | for ( int d = -1, d <= 1; d+=2) {
| ^~~
| ;
mirrors.cpp:19:23: error: expected primary-expression before ‘<=’ token
19 | for ( int d = -1, d <= 1; d+=2) {
| ^~
mirrors.cpp:26:10: error: ‘temp’ was not declared in this scope
26 | if (temp[pos] > 0) {
| ^~~~
mirrors.cpp:46:2: error: expected ‘}’ at end of input
46 | }
| ^
mirrors.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^