Borderou de evaluare (job #2073230)
Utilizator | Data | 22 noiembrie 2017 20:55:04 | |
---|---|---|---|
Problema | Trapez | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:5: error: ‘l’ does not name a type
l x, y;
^
user.cpp: In function ‘int part_Hoare(int, int)’:
user.cpp:37:30: error: ‘struct<anonymous>’ has no member named ‘x’
int pivot_x = m[randpoz].x;
^
user.cpp:38:30: error: ‘struct<anonymous>’ has no member named ‘y’
int pivot_y = m[randpoz].y;
^
user.cpp:44:22: error: ‘struct<anonymous>’ has no member named ‘x’
}while( m[i].x * pivot_y < m[i].y * pivot_x );
^
user.cpp:44:41: error: ‘struct<anonymous>’ has no member named ‘y’
}while( m[i].x * pivot_y < m[i].y * pivot_x );
^
user.cpp:48:22: error: ‘struct<anonymous>’ has no member named ‘x’
}while( m[j].x * pivot_y > m[j].y * pivot_x);
^
user.cpp:48:41: error: ‘struct<anonymous>’ has no member named ‘y’
}while( m[j].x * pivot_y > m[j].y * pivot_x);
^
user.cpp:53:22: error: ‘struct<anonymous>’ has no member named ‘x’
aux_x = m[i].x;
^
user.cpp:54:22: error: ‘struct<anonymous>’ has no member named ‘y’
aux_y = m[i].y;
^
user.cpp:55:14: error: ‘struct<anonymous>’ has no member named ‘x’
m[i].x = m[j].x;
^
user.cpp:55:23: error: ‘struct<anonymous>’ has no member named ‘x’
m[i].x = m[j].x;
^
user.cpp:56:14: error: ‘struct<anonymous>’ has no member named ‘y’
m[i].y = m[j].y;
^
user.cpp:56:23: error: ‘struct<anonymous>’ has no member named ‘y’
m[i].y = m[j].y;
^
user.cpp:57:14: error: ‘struct<anonymous>’ has no member named ‘x’
m[j].x = aux_x;
^
user.cpp:58:14: error: ‘struct<anonymous>’ has no member named ‘y’
m[j].y = aux_y;
^
user.cpp: In function ‘int main()’:
user.cpp:97:19: error: ‘struct<anonymous>’ has no member named ‘x’
fin>>p[i].x>>p[i].y;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !