Pagini recente » Borderou de evaluare (job #2268110) | Borderou de evaluare (job #1716656) | Borderou de evaluare (job #240443) | Borderou de evaluare (job #2809043) | Borderou de evaluare (job #1609646)
Borderou de evaluare (job #1609646)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:48:42: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(O.x > v[i].x || O.x == v[i].x && O.y > v[i].y)
^
user.cpp:39:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("infasuratoare.in","r",stdin);
^
user.cpp:40:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("infasuratoare.out","w",stdout);
^
user.cpp:41:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:47:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%f%f",&v[i].x,&v[i].y);
^
user.cpp:54:22: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
swap(v[1], v[pos]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 472kb | Corect | 10 |
| 2 | 0ms | 476kb | Corect | 10 |
| 3 | 24ms | 600kb | Poligon gresit! | 0 |
| 4 | 24ms | 604kb | Poligon gresit! | 0 |
| 5 | 24ms | 604kb | Poligon gresit! | 0 |
| 6 | 188ms | 1308kb | Poligon gresit! | 0 |
| 7 | 192ms | 1312kb | Numar de puncte incorect | 0 |
| 8 | 188ms | 1308kb | Numar de puncte incorect | 0 |
| 9 | 188ms | 1304kb | Numar de puncte incorect | 0 |
| 10 | 188ms | 1308kb | Poligon gresit! | 0 |
| Punctaj total | 20 |