Borderou de evaluare (job #1232122)
Utilizator | Data | 22 septembrie 2014 07:52:33 | |
---|---|---|---|
Problema | Subsir crescator maximal | 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:2: error: expected ‘,’ or ‘;’ before ‘ofstream’
ofstream ofs("scmax.out")
^
user.cpp:12:16: error: ‘n’ was not declared in this scope
int n; ifs >> n;
^
user.cpp:24:4: error: expected ‘;’ before ‘if’
if (max > best_max)
^
user.cpp:36:2: error: ‘ofs’ was not declared in this scope
ofs << best_max << "\n";
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !