Pagini recente » Borderou de evaluare (job #3143809) | Borderou de evaluare (job #3290721) | Borderou de evaluare (job #109879) | Borderou de evaluare (job #475037) | Borderou de evaluare (job #1723222)
Borderou de evaluare (job #1723222)
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 | 496kb | OK! | 10 |
2 | 0ms | 500kb | OK! | 10 |
3 | 0ms | 548kb | OK! | 10 |
4 | 20ms | 716kb | OK! | 10 |
5 | 40ms | 872kb | OK! | 10 |
6 | 88ms | 1412kb | Cele 4 poligoane nu au arie egale | 0 |
7 | 220ms | 2408kb | Cele 4 poligoane nu au arie egale | 0 |
8 | 192ms | 2940kb | Cele 4 poligoane nu au arie egale | 0 |
9 | 224ms | 2412kb | Cele 4 poligoane nu au arie egale | 0 |
10 | 220ms | 3180kb | Cele 4 poligoane nu au arie egale | 0 |
Punctaj total | 50 |