Pagini recente » Borderou de evaluare (job #2003776) | Borderou de evaluare (job #225904) | Borderou de evaluare (job #2685304) | Borderou de evaluare (job #321105) | Borderou de evaluare (job #1723223)
Borderou de evaluare (job #1723223)
Raport evaluator
Compilare:
user.cpp: In function ‘double getArea(const std::vector<Point>&)’:
user.cpp:28:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i < P.size(); i++) Ar += fabs(Det(P[0], P[i - 1], P[i]));
^
user.cpp: In function ‘std::vector<Point> Reorder(const std::vector<Point>&)’:
user.cpp:41:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = Pos; i < P.size(); i++) PP.push_back(P[i]);
^
user.cpp: In function ‘void Solve(std::vector<Point>&)’:
user.cpp:86:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i++; i < P.size(); i++) Side2.push_back(P[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:106:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("split3.in", "r", stdin);
^
user.cpp:107:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("split3.out", "w", stdout);
^
user.cpp:109:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:112:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf", &P[i].x, &P[i].y);
^
user.cpp:113:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf", &A.x, &A.y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 500kb | Nu s-a obtinut 4 poligoane | 0 |
2 | 0ms | 496kb | OK! | 10 |
3 | 4ms | 540kb | OK! | 10 |
4 | 24ms | 716kb | OK! | 10 |
5 | 44ms | 864kb | OK! | 10 |
6 | 92ms | 1408kb | OK! | 10 |
7 | 240ms | 2400kb | Cele 4 poligoane nu au arie egale | 0 |
8 | 208ms | 2936kb | Cele 4 poligoane nu au arie egale | 0 |
9 | 240ms | 2404kb | Cele 4 poligoane nu au arie egale | 0 |
10 | 236ms | 3168kb | Cele 4 poligoane nu au arie egale | 0 |
Punctaj total | 50 |