Borderou de evaluare (job #2211742)

Utilizator DragescuLeonardDragescuLeonard DragescuLeonard Data 11 iunie 2018 16:49:10
Problema Subsecventa de suma maxima Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:27: error: ‘INT_MAX’ was not declared in this scope int n,i,j,a[1010],s,smax=-INT_MAX,p1,p2,nr; ^~~~~~~ user.cpp: In function ‘int main()’: user.cpp:17:5: error: ‘nr’ was not declared in this scope nr=0; ^~ user.cpp:26:13: error: ‘p2’ was not declared in this scope p2=j; ^~ user.cpp:27:13: error: ‘p1’ was not declared in this scope p1=j-nr; ^~ user.cpp:31:22: error: ‘p1’ was not declared in this scope fout<<smax<<" "<<p1<<" "<<p2; ^~ user.cpp:31:31: error: ‘p2’ was not declared in this scope fout<<smax<<" "<<p1<<" "<<p2; ^~

Ceva nu functioneaza?