Borderou de evaluare (job #1268836)
Utilizator | Data | 21 noiembrie 2014 15:59:57 | |
---|---|---|---|
Problema | Qtri | Status | done |
Runda | Teme Pregatire ACM Unibuc 2014, Anul I | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:1:1: error: ‘nclude’ does not name a type
nclude <fstream>
^
user.cpp:8:1: error: ‘ifstream’ does not name a type
ifstream fin(InFile);
^
user.cpp:9:1: error: ‘ofstream’ does not name a type
ofstream fout(OutFile);
^
user.cpp: In function ‘int area(int, int, int, int, int, int)’:
user.cpp:20:38: error: ‘abs’ was not declared in this scope
return abs(det(X1,Y1,X2,Y2,X3,Y3));
^
user.cpp: In function ‘int main()’:
user.cpp:25:5: error: ‘fin’ was not declared in this scope
fin>>Q;
^
user.cpp:31:13: error: ‘fout’ was not declared in this scope
fout<<"DA\n";
^
user.cpp:35:13: error: ‘fout’ was not declared in this scope
fout<<"NU\n";
^
user.cpp:39:5: error: ‘fout’ was not declared in this scope
fout.close();
^
user.cpp: In function ‘int area(int, int, int, int, int, int)’:
user.cpp:21:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !