Pagini recente » Borderou de evaluare (job #2007532) | Borderou de evaluare (job #1167398) | Borderou de evaluare (job #2367476) | Borderou de evaluare (job #1658116) | Borderou de evaluare (job #1357660)
Borderou de evaluare (job #1357660)
Raport evaluator
Compilare:
user.cpp: In function ‘bool cmp(point, point)’:
user.cpp:26:35: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
return A.y < B.y || A.y == B.y && A.x > B.x;
^
user.cpp: In function ‘void graham()’:
user.cpp:64:11: warning: variable ‘aux’ set but not used [-Wunused-but-set-variable]
double aux[NMAX];
^
user.cpp: In function ‘void read()’:
user.cpp:19:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:21:43: 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: In function ‘int main()’:
user.cpp:95:43: 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:96:45: 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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 500kb | Corect | 10 |
2 | 0ms | 500kb | Corect | 10 |
3 | 56ms | 748kb | Poligon gresit! | 0 |
4 | 56ms | 748kb | Poligon gresit! | 0 |
5 | 56ms | 748kb | Poligon gresit! | 0 |
6 | 440ms | 2200kb | Poligon gresit! | 0 |
7 | 424ms | 2200kb | Poligon gresit! | 0 |
8 | 436ms | 2208kb | Poligon gresit! | 0 |
9 | 432ms | 2204kb | Poligon gresit! | 0 |
10 | 476ms | 2208kb | Poligon gresit! | 0 |
Punctaj total | 20 |