Borderou de evaluare (job #1814805)
Utilizator | Data | 24 noiembrie 2016 16:19:48 | |
---|---|---|---|
Problema | Subsecventa de suma maxima | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:1: error: expected ‘,’ or ‘;’ before ‘ofstream’
ofstream g("ssm.out")
^
user.cpp: In function ‘int main()’:
user.cpp:12:12: error: ‘v’ was not declared in this scope
f>>v[i];
^
user.cpp:19:25: error: ‘v’ was not declared in this scope
s=s+v[k];
^
user.cpp:29:5: error: ‘g’ was not declared in this scope
g<<macss<<' '<<cs<<' '<<cf;
^
user.cpp:9:29: warning: unused variable ‘l’ [-Wunused-variable]
int i, j, k, n, cs, cf, l=1, s=0, macss=0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !