Borderou de evaluare (job #1894234)

Utilizator patrutoiuandreipatrutoiu andrei patrutoiuandrei Data 26 februarie 2017 17:31:25
Problema Pitagora2 Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:11:25: error: ‘LONG_LONG_MAX’ was not declared in this scope long long n,i,cat = LONG_LONG_MAX,n2,x,y,OK=0,sqrn,nrd=0,nr,j; ^ user.cpp:13:5: error: ‘sqrn’ was not declared in this scope sqrn = sqrt(n); ^ user.cpp:14:5: error: ‘n2’ was not declared in this scope n2 = n*n; ^ user.cpp:19:17: error: ‘nrd’ was not declared in this scope D[++nrd] = i; ^ user.cpp:22:5: error: ‘nr’ was not declared in this scope nr = nrd; ^ user.cpp:22:10: error: ‘nrd’ was not declared in this scope nr = nrd; ^ user.cpp:27:13: error: ‘j’ was not declared in this scope for(j=i;j<=nr;j++) ^ user.cpp:31:9: error: ‘x’ was not declared in this scope x = D[i]; ^ user.cpp:32:9: error: ‘y’ was not declared in this scope y = n2/x; ^ user.cpp:36:13: error: ‘OK’ was not declared in this scope OK=1; ^ user.cpp:39:8: error: ‘OK’ was not declared in this scope if(OK==0) ^

Ceva nu functioneaza?