Borderou de evaluare (job #822636)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | 3numere | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 6 mai 2025 17:42:17 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:10:5: error: size '4000000000' of array 'v' exceeds maximum object size '2147483647'
10 | int v[1000000000],dmax;
| ^
main.cpp: In function 'void factorizare(int)':
main.cpp:26:9: error: 'v' was not declared in this scope
26 | v[d] += p;
| ^
main.cpp: In function 'int main()':
main.cpp:46:13: error: 'v' was not declared in this scope
46 | if (v[i]!=0)
| ^