Borderou de evaluare (job #2838066)
Utilizator | Data | 23 ianuarie 2022 01:01:05 | |
---|---|---|---|
Problema | Infasuratoare convexa | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
1 | #include cstdio
| ^~~~~~
main.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
3 | #include algorithm
| ^~~~~~~~~
main.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
4 | #include fstream
| ^~~~~~~
main.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
5 | #include iomanip
| ^~~~~~~
main.cpp:12:9: error: 'pairdouble' does not name a type; did you mean 'double'?
12 | typedef pairdouble, double Point;
| ^~~~~~~~~~
| double
main.cpp:14:1: error: 'ifstream' does not name a type
14 | ifstream fin(infasuratoare.in);
| ^~~~~~~~
main.cpp:15:1: error: 'ofstream' does not name a type
15 | ofstream fout(infasuratoare.out);
| ^~~~~~~~
main.cpp:20:1: error: 'Point' does not name a type; did you mean 'int'?
20 | Point v[MAX_N];
| ^~~~~
| int
main.cpp:22:1: error: 'Point' does not name a type; did you mean 'int'?
22 | Point stack[MAX_N];
| ^~~~~
| int
main.cpp: In function 'void read()':
main.cpp:26:5: error: 'fin' was not declared in this scope
26 | fin n;
| ^~~
main.cpp:27:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
27 | for (int i = 1; i = n; ++i)
| ~~^~~
main.cpp:28:12: error: expected ';' before 'v'
28 | fin v[i].x v[i].y;
| ^ ~
| ;
main.cpp: At global scope:
main.cpp:31:35: error: 'Point' does not name a type; did you mean 'int'?
31 | inline double cross_product(const Point& A, const Point& B, const Point& C) {
| ^~~~~
| int
main.cpp:31:51: error: 'Point' does not name a type; did you mean 'int'?
31 | inline double cross_product(const Point& A, const Point& B, const Point& C) {
| ^~~~~
| int
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !