Borderou de evaluare (job #1736235)
Utilizator | Data | 1 august 2016 14:21:37 | |
---|---|---|---|
Problema | Problema rucsacului | 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:11: error: aggregate ‘std::ifstream infile’ has incomplete type and cannot be defined
ifstream infile;
^
user.cpp:12:11: error: aggregate ‘std::ofstream outfile’ has incomplete type and cannot be defined
ofstream outfile;
^
user.cpp:23:27: error: expected ‘;’ before ‘)’ token
infile >> &W[i] >> &P[i]);
^
user.cpp:34:20: error: ‘endl’ was not declared in this scope
outfile << max << endl;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !