Borderou de evaluare (job #1776560)
Utilizator | Data | 11 octombrie 2016 15:40:07 | |
---|---|---|---|
Problema | Infasuratoare convexa | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void lire()’:
user.cpp:25:35: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (p.x<mp.x || p.x==mp.x && p.y<mp.y) mp;
^
user.cpp:25:50: warning: statement has no effect [-Wunused-value]
if (p.x<mp.x || p.x==mp.x && p.y<mp.y) mp;
^
user.cpp: In function ‘void ca()’:
user.cpp:5:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define as a.size()
^
user.cpp:33:21: note: in expansion of macro ‘as’
for (int i=0; i<as; i++)
^
user.cpp: In function ‘void hull()’:
user.cpp:5:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define as a.size()
^
user.cpp:63:21: note: in expansion of macro ‘as’
for (int i=3; i<as; i++)
^
user.cpp: In function ‘void ecrire()’:
user.cpp:6:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define hs h.size()
^
user.cpp:79:21: note: in expansion of macro ‘hs’
for (int i=0; i<hs; i++)
^
user.cpp: At global scope:
user.cpp:85:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main()
^
user.cpp: In function ‘int main()’:
user.cpp:89:30: error: ‘sort’ was not declared in this scope
sort(a.begin(),a.end(),cA);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !