Borderou de evaluare (job #1605627)

Utilizator zertixMaradin Octavian zertix Data 19 februarie 2016 11:52:27
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:101: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:101: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:102: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:102: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:33:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:37: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:41:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&m); ^ user.cpp:44: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:123: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:124: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
20ms472kbKilled by signal 11(SIGSEGV).0
30ms500kbIncorect0
40ms500kbIncorect0
50ms500kbIncorect0
60ms500kbIncorect0
70ms500kbIncorect0
80ms500kbIncorect0
90ms504kbIncorect0
100ms504kbIncorect0
Punctaj total0

Ceva nu functioneaza?