Borderou de evaluare (job #581842)

Utilizator avatar mihneaudroiu Udroiu Mihnea Alexandru mihneaudroiu IP ascuns
Problemă Norocos (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 14 feb. 2021 14:06:02 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int knorocos(int)': main.cpp:15:21: error: size of array 'v' exceeds maximum object size '2147483647' 15 | int v[2000000000]; | ^ main.cpp:17:9: error: 'v' was not declared in this scope 17 | v[i]=0; | ^ main.cpp:23:13: error: 'v' was not declared in this scope 23 | v[y]=i; | ^ main.cpp:30:27: error: 'v' was not declared in this scope 30 | for(int t=2; t*t<=v[i]; t++) | ^