Borderou de evaluare (job #1897785)
Utilizator | Data | 1 martie 2017 18:19:34 | |
---|---|---|---|
Problema | Copaci | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:2:1: error: ‘ifstream’ does not name a type
ifstream fin ("copaci.in");
^
user.cpp:3:1: error: ‘ofstream’ does not name a type
ofstream fout ("copaci.out");
^
user.cpp: In function ‘int main()’:
user.cpp:21:5: error: ‘fin’ was not declared in this scope
fin>>N;
^
user.cpp:29:47: error: ‘max’ was not declared in this scope
b=b+cmmdc(max(X[i]-X[i+1], X[i+1]-X[i]), max(Y[i]-Y[i+1], Y[i+1]-Y[i]));
^
user.cpp:35:5: error: ‘fout’ was not declared in this scope
fout<<interior<<" ";
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !