Borderou de evaluare (job #2193849)
Utilizator | Data | 11 aprilie 2018 17:51:22 | |
---|---|---|---|
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:11:22: error: conflicting declaration ‘long long int stmax’
long long s = 0, stmax = 0;
^~~~~
user.cpp:10:27: note: previous declaration as ‘int stmax’
int n, x, st = 0, dr, stmax;
^~~~~
user.cpp:27:16: error: ‘smax’ was not declared in this scope
if(s > smax)
^~~~
user.cpp:35:13: error: ‘smax’ was not declared in this scope
cout << smax << " " << stmax << " " << dr << "\n";
^~~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !