Borderou de evaluare (job #2675804)

Utilizator RazvanLazar2004Lazar Razvan Gabriel RazvanLazar2004 Data 22 noiembrie 2020 16:22:02
Problema Maxd Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:3:1: error: 'h' does not name a type h=2000000; ^ main.cpp: In function 'int main()': main.cpp:6:21: error: 'h' was not declared in this scope long long int v[h]={1},a,b,m,nrdiv=0,contor=1; ^ main.cpp:10:12: error: 'v' was not declared in this scope if(v[i]==1){ ^ main.cpp:21:12: error: 'v' was not declared in this scope if(v[i]==1){ ^ main.cpp:29:12: error: 'v' was not declared in this scope if(v[i]==nrdiv){ ^ main.cpp:32:12: error: 'v' was not declared in this scope if(v[i]>nrdiv){ ^ Non zero exit status: 1

Ceva nu functioneaza?