Borderou de evaluare (job #787579)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Faraon (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 23 sept. 2024 09:56:16 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:5: error: size of array 'frecv' exceeds maximum object size '2147483647'
7 | int frecv[2000000001];
| ^~~~~
main.cpp: In function 'int main()':
main.cpp:20:9: error: 'frecv' was not declared in this scope
20 | frecv[p[i]]++;
| ^~~~~
main.cpp:25:14: error: 'frecv' was not declared in this scope
25 | if ( frecv[h[i]] > 0 ) {
| ^~~~~