Borderou de evaluare (job #2411139)
Utilizator | Data | 20 aprilie 2019 13:55:57 | |
---|---|---|---|
Problema | Bazar | Status | done |
Runda | Algoritmiada 2019 Runda PreONI | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:62:53: error: too few arguments to function 'bool cmp_jos(Rectangle, Rectangle)'
std::sort(jos + 1, jos + 1 + limit, cmp_jos()) ;
^
main.cpp:21:6: note: declared here
bool cmp_jos(Rectangle a, Rectangle b) {
^~~~~~~
main.cpp:63:53: error: too few arguments to function 'bool cmp_sus(Rectangle, Rectangle)'
std::sort(sus + 1, sus + 1 + limit, cmp_sus()) ;
^
main.cpp:26:6: note: declared here
bool cmp_sus(Rectangle a, Rectangle b) {
^~~~~~~
main.cpp:64:62: error: too few arguments to function 'bool cmp_stanga(Rectangle, Rectangle)'
std::sort(stanga + 1, stanga + 1 + limit, cmp_stanga()) ;
^
main.cpp:31:6: note: declared here
bool cmp_stanga(Rectangle a, Rectangle b) {
^~~~~~~~~~
main.cpp:65:65: error: too few arguments to function 'bool cmp_dreapta(Rectangle, Rectangle)'
std::sort(dreapta + 1, dreapta + 1 + limit, cmp_dreapta()) ;
^
main.cpp:36:6: note: declared here
bool cmp_dreapta(Rectangle a, Rectangle b) {
^~~~~~~~~~~
main.cpp:67:42: error: 'caut_sus' was not declared in this scope
Rectangle up = caut_sus(i) ;
^
main.cpp:68:42: error: 'caut_jos' was not declared in this scope
Rectangle dn = caut_jos(i) ;
^
main.cpp:69:45: error: 'caut_stanga' was not declared in this scope
Rectangle lf = caut_stanga(i) ;
^
main.cpp:70:46: error: 'caut_dreapta' was not declared in this scope
Rectangle rg = caut_dreapta(i) ;
^
main.cpp:71:73: error: 'exista' was not declared in this scope
if (exista(0, std::max(v[i].dr.y, up.dr.y), v[i].st.x, n)) {
^
main.cpp:68:27: warning: unused variable 'dn' [-Wunused-variable]
Rectangle dn = caut_jos(i) ;
^~
main.cpp:69:27: warning: unused variable 'lf' [-Wunused-variable]
Rectangle lf = caut_stanga(i) ;
^~
main.cpp:70:27: warning: unused variable 'rg' [-Wunused-variable]
Rectangle rg = caut_dreapta(i) ;
^~
main.cpp:41:22: warning: unused variable 'k' [-Wunused-variable]
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !