Pagini recente » Borderou de evaluare (job #1181577) | Cod sursa (job #1730246) | Borderou de evaluare (job #1903432) | Borderou de evaluare (job #1678454) | Borderou de evaluare (job #1872070)
Borderou de evaluare (job #1872070)
Raport evaluator
Compilare:
user.cpp: In function ‘int inters(punct, punct, punct, punct)’:
user.cpp:74:29: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
return e1.x >= f1.x && e1.x <= f2.x || e2.x >= f1.x && e2.x <= f2.x;
^
user.cpp: In function ‘int main()’:
user.cpp:94:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("geometry.in", "r", stdin);
^
user.cpp:95:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("geometry.out", "w", stdout);
^
user.cpp:97:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:99:69: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf %lf %lf", &a[i].x, &a[i].y, &b[i].x, &b[i].y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 464kb | OK | 10 | 50 |
| 2 | 0ms | 468kb | OK | 10 |
| 3 | 0ms | 460kb | OK | 10 |
| 4 | 0ms | 464kb | OK | 10 |
| 5 | 0ms | 472kb | OK | 10 |
| 6 | 0ms | 472kb | OK | 10 | 10 |
| 7 | 28ms | 468kb | OK | 10 | 10 |
| 8 | 28ms | 476kb | OK | 10 | 10 |
| 9 | 28ms | 468kb | OK | 10 | 10 |
| 10 | 28ms | 476kb | OK | 10 | 10 |
| Punctaj total | 100 |