Pagini recente » Borderou de evaluare (job #1332278) | Borderou de evaluare (job #2832470) | Borderou de evaluare (job #2447248) | Borderou de evaluare (job #151305) | Borderou de evaluare (job #1617997)
Borderou de evaluare (job #1617997)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(v[i].x<v[poz].x||v[i].x==v[poz].x&&v[i].y<v[poz].y)
^
user.cpp:23: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:24: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:25:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:28:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf",&v[i].x,&v[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 308kb | Poligon gresit! | 0 |
2 | 0ms | 304kb | Poligon gresit! | 0 |
3 | 36ms | 556kb | Poligon gresit! | 0 |
4 | 36ms | 556kb | Poligon gresit! | 0 |
5 | 36ms | 552kb | Poligon gresit! | 0 |
6 | 268ms | 1976kb | Poligon gresit! | 0 |
7 | 276ms | 1972kb | Poligon gresit! | 0 |
8 | 272ms | 1976kb | Poligon gresit! | 0 |
9 | 268ms | 1976kb | Poligon gresit! | 0 |
10 | 268ms | 1980kb | Poligon gresit! | 0 |
Punctaj total | 0 |