Borderou de evaluare (job #782214)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Factor (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Nerdvana SummerCamps - Ed2 - 2 | Status | evaluat |
Dată | 11 iul. 2024 14:43:42 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:5: error: size '4000000000' of array 'v' exceeds maximum object size '2147483647'
4 | int v[1000000000];
| ^
main.cpp: In function 'int main()':
main.cpp:28:13: error: 'v' was not declared in this scope
28 | v[d]++;
| ^
main.cpp:30:12: error: 'v' was not declared in this scope
30 | if(v[d]>maxim){
| ^
main.cpp:37:12: error: 'v' was not declared in this scope
37 | if(v[i]==maxim){
| ^