Borderou de evaluare (job #1605493)

Utilizator zertixMaradin Octavian zertix Data 19 februarie 2016 07:28:14
Problema Arie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void solve()’: user.cpp:100:37: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if ((x>=polig1[i].first && x<=polig1[i+1].first || x<=polig1[i].first && x>=polig1[i+1].first) && (y>=polig1[i].second && y<=polig1[i+1].second || y<=polig1[i].second && y>=polig1[i+1].second)) ^ user.cpp:100:132: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if ((x>=polig1[i].first && x<=polig1[i+1].first || x<=polig1[i].first && x>=polig1[i+1].first) && (y>=polig1[i].second && y<=polig1[i+1].second || y<=polig1[i].second && y>=polig1[i+1].second)) ^ user.cpp:101:41: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if ((x>=polig2[j].first && x<=polig2[j+1].first || x<=polig2[j].first && x>=polig2[j+1].first) && (y>=polig2[j].second && y<=polig2[j+1].second || y<=polig2[j].second && y>=polig2[j+1].second)) ^ user.cpp:101:136: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if ((x>=polig2[j].first && x<=polig2[j+1].first || x<=polig2[j].first && x>=polig2[j+1].first) && (y>=polig2[j].second && y<=polig2[j+1].second || y<=polig2[j].second && y>=polig2[j+1].second)) ^ user.cpp: In function ‘void citire()’: user.cpp:22:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:26:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf",&x,&y); ^ user.cpp:30:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&m); ^ user.cpp:33:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf",&x,&y); ^ user.cpp: In function ‘int main()’: user.cpp:122:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("arie.in","r",stdin); ^ user.cpp:123:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("arie.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms504kbIncorect0
20ms468kbKilled by signal 11(SIGSEGV).0
30ms500kbIncorect0
40ms500kbIncorect0
50ms504kbIncorect0
60ms504kbIncorect0
70ms500kbIncorect0
80ms500kbIncorect0
90ms500kbIncorect0
100ms500kbIncorect0
Punctaj total0

Ceva nu functioneaza?