Pagini recente » Borderou de evaluare (job #23688) | Borderou de evaluare (job #2623709) | Borderou de evaluare (job #1779178) | Borderou de evaluare (job #1799370) | Borderou de evaluare (job #1597064)
Borderou de evaluare (job #1597064)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:38:12: warning: unused variable ‘x’ [-Wunused-variable]
double x, y;
^
user.cpp:38:15: warning: unused variable ‘y’ [-Wunused-variable]
double x, y;
^
user.cpp: In function ‘void addIntersect(pct, pct, pct, pct)’:
user.cpp:87:15: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (x < a1.x && x < a2.x || x > a1.x && x > a2.x) return;
^
user.cpp:88:15: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (x < b1.x && x < b2.x || x > b1.x && x > b2.x) return;
^
user.cpp:89:18: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (y < a1.y && y < a2.y || y > a1.y && y > a2.y) return;
^
user.cpp:90:18: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (y < b1.y && y < b2.y || y > b1.y && y > b2.y) return;
^
user.cpp: In function ‘void solve()’:
user.cpp:128:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < inter.size(); i++)
^
user.cpp: In function ‘void citire()’:
user.cpp:37:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:40:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf\n", &a[i].x, &a[i].y);
^
user.cpp:42:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:44:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf\n", &b[j].x, &b[j].y);
^
user.cpp: In function ‘int main()’:
user.cpp:143:35: 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:144:37: 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 | OK | 10 |
2 | 0ms | 488kb | OK | 10 |
3 | 0ms | 488kb | Incorect | 0 |
4 | 0ms | 488kb | Incorect | 0 |
5 | 0ms | 492kb | OK | 10 |
6 | 0ms | 488kb | OK | 10 |
7 | 0ms | 488kb | OK | 10 |
8 | 0ms | 488kb | Incorect | 0 |
9 | 0ms | 488kb | OK | 10 |
10 | 0ms | 484kb | OK | 10 |
Punctaj total | 70 |