Borderou de evaluare (job #769300)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Latin | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 21 mar. 2024 18:40:34 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:14:5: error: 'vi' was not declared in this scope
14 | vi a(1 << (n+1));
| ^~
main.cpp:16:9: error: 'a' was not declared in this scope
16 | a[i-1] = i;
| ^
main.cpp:18:9: error: 'a' was not declared in this scope
18 | a[i] = a[i-(1<<n)];
| ^
main.cpp:21:21: error: 'a' was not declared in this scope
21 | cout << a[i+j] << ' ';
| ^