Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1872070)
| Utilizator | Data | 7 februarie 2017 22:21:18 | |
|---|---|---|---|
| Problema | Geometry | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 100 | ||
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 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
