Borderou de evaluare (job #1131563)
Utilizator | Data | 28 februarie 2014 21:41:08 | |
---|---|---|---|
Problema | Subsecventa de suma maxima | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:2:2: error: invalid preprocessing directive #DEFINE
#DEFINE maxm 6000010
^
user.cpp:5:7: error: ‘maxm’ was not declared in this scope
int r[maxm];
^
user.cpp: In function ‘int main()’:
user.cpp:12:13: error: ‘maxm’ was not declared in this scope
int n,a[maxm],x[maxm],i,ma,mi,e,f;
^
user.cpp:14:5: error: ‘r’ was not declared in this scope
r[0]=0; a[0]=0;
^
user.cpp:14:13: error: ‘a’ was not declared in this scope
r[0]=0; a[0]=0;
^
user.cpp:17:15: error: ‘x’ was not declared in this scope
mama>>x[i];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !