Borderou de evaluare (job #708851)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Prime1 (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 17 mar. 2023 16:01:02 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:23:5: error: size '4000000000' of array 'v' exceeds maximum object size '2147483647'
23 | int v[1000000000];
| ^
main.cpp: In function 'int main()':
main.cpp:33:9: error: 'v' was not declared in this scope
33 | v[1]=0;
| ^
main.cpp:49:21: warning: unused variable 'k' [-Wunused-variable]
49 | int k=cnt;
| ^