Borderou de evaluare (job #786963)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Faraon (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 18 sept. 2024 19:12:20 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:5: error: size of array 'poz' exceeds maximum object size '2147483647'
8 | int poz[1000001][1000001], pozcon[1000001];
| ^~~
main.cpp: In function 'int main()':
main.cpp:20:9: error: 'poz' was not declared in this scope
20 | poz[p[i]][pozcon[p[i]]] = i;
| ^~~
main.cpp:28:21: error: 'poz' was not declared in this scope
28 | cout << poz[h[i]][j] << ' ';
| ^~~