Borderou de evaluare (job #1961047)
Utilizator | Data | 10 aprilie 2017 21:00:20 | |
---|---|---|---|
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:6:8: error: ‘d’ does not name a type
const d=600000;
^
user.cpp:7:13: error: ‘d’ was not declared in this scope
int n,suma[d],v[d],i,j,max,max1,max2,c=0,s;;
^
user.cpp:12:6: error: ‘v’ was not declared in this scope
f>>v[i];
^
user.cpp:15:2: error: ‘suma’ was not declared in this scope
suma[0]=0;
^
user.cpp:18:21: error: ‘v’ was not declared in this scope
suma[i]=suma[i-1]+v[i];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !