Pagini recente » Borderou de evaluare (job #2982124) | Borderou de evaluare (job #934395) | Borderou de evaluare (job #2461678) | Borderou de evaluare (job #1593021) | Borderou de evaluare (job #1600035)
Borderou de evaluare (job #1600035)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:24: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if((x1[i]>=x&&x>=x2[i]||x1[i]<=x&&x<=x2[i])&&(y1[i]<=y&&y<=y2[i]||y1[i]>=y&&y>=y2[i]))
^
user.cpp:36:66: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if((x1[i]>=x&&x>=x2[i]||x1[i]<=x&&x<=x2[i])&&(y1[i]<=y&&y<=y2[i]||y1[i]>=y&&y>=y2[i]))
^
user.cpp:37:27: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if((x1[j]>=x&&x>=x2[j]||x1[j]<=x&&x<=x2[j])&&(y1[j]<=y&&y<=y2[j]||y1[j]>=y&&y>=y2[j]))
^
user.cpp:37:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if((x1[j]>=x&&x>=x2[j]||x1[j]<=x&&x<=x2[j])&&(y1[j]<=y&&y<=y2[j]||y1[j]>=y&&y>=y2[j]))
^
user.cpp:11:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d" ,&n);
^
user.cpp:13:62: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%lf%lf%lf%lf" ,&x1[i],&y1[i],&x2[i],&y2[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 320kb | OK | 10 | 50 |
2 | 0ms | 320kb | OK | 10 |
3 | 0ms | 320kb | OK | 10 |
4 | 0ms | 316kb | OK | 10 |
5 | 0ms | 320kb | OK | 10 |
6 | 0ms | 320kb | OK | 10 | 10 |
7 | 8ms | 324kb | OK | 10 | 10 |
8 | 8ms | 320kb | OK | 10 | 10 |
9 | 8ms | 316kb | OK | 10 | 10 |
10 | 8ms | 320kb | OK | 10 | 10 |
Punctaj total | 100 |