Pagini recente » Borderou de evaluare (job #207181) | Borderou de evaluare (job #1790981) | Borderou de evaluare (job #1881044) | Borderou de evaluare (job #1585548) | Borderou de evaluare (job #1605317)
Borderou de evaluare (job #1605317)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:99: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:99: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: 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:115: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:116: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 |
1 | 0ms | 484kb | Incorect | 0 |
2 | 0ms | 480kb | Incorect | 0 |
3 | 0ms | 480kb | Incorect | 0 |
4 | 0ms | 480kb | Incorect | 0 |
5 | 0ms | 484kb | Incorect | 0 |
6 | 0ms | 476kb | Incorect | 0 |
7 | 0ms | 480kb | Incorect | 0 |
8 | 0ms | 480kb | Incorect | 0 |
9 | 0ms | 480kb | Incorect | 0 |
10 | 0ms | 484kb | Incorect | 0 |
Punctaj total | 0 |