Borderou de evaluare (job #2178601)

Utilizator UnseenMarksmanDavid Catalin UnseenMarksman Data 19 martie 2018 16:46:16
Problema Subsecventa de suma maxima Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:15:33: error: ‘ULLONG_MIN’ was not declared in this scope unsigned long long val, Max=ULLONG_MIN, Min=ULLONG_MAX, posi, posj; ^ user.cpp:18:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=1; i<=n; i++) ^ user.cpp:25:13: error: ‘posi’ was not declared in this scope posi=i; ^ user.cpp:27:17: error: ‘Min’ was not declared in this scope if(v[i]<Min) ^ user.cpp:30:13: error: ‘posj’ was not declared in this scope posj=i; ^ user.cpp:33:11: error: ‘Min’ was not declared in this scope s=Max-Min; ^ user.cpp:34:19: error: ‘posj’ was not declared in this scope fout<<s<<' '<<posj+1<<' '<<posi; ^ user.cpp:34:32: error: ‘posi’ was not declared in this scope fout<<s<<' '<<posj+1<<' '<<posi; ^

Ceva nu functioneaza?