Borderou de evaluare (job #2193843)

Utilizator AlexGanasideAlex Ganaside AlexGanaside Data 11 aprilie 2018 17:36:45
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:10:29: error: ‘INT_MIN’ was not declared in this scope int n, x, s = 0, smax = INT_MIN, st = 0, dr, stmax; ^~~~~~~ user.cpp:21:13: error: ‘st’ was not declared in this scope st = i; ^~ user.cpp:28:13: error: ‘dr’ was not declared in this scope dr = i; ^~ user.cpp:29:13: error: ‘stmax’ was not declared in this scope stmax = st + 1; ^~~~~ user.cpp:29:21: error: ‘st’ was not declared in this scope stmax = st + 1; ^~ user.cpp:33:28: error: ‘stmax’ was not declared in this scope cout << smax << " " << stmax << " " << dr; ^~~~~ user.cpp:33:44: error: ‘dr’ was not declared in this scope cout << smax << " " << stmax << " " << dr; ^~

Ceva nu functioneaza?