Pagini recente » Borderou de evaluare (job #2071317) | Borderou de evaluare (job #1837171) | Borderou de evaluare (job #2874887) | Borderou de evaluare (job #831275) | Borderou de evaluare (job #1723224)
Borderou de evaluare (job #1723224)
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)
^
user.cpp: In function ‘std::vector<Point> Reorder(const std::vector<Point>&)’:
user.cpp:42: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:87: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:107: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:108: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:110:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:113: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:114: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 | 500kb | OK! | 10 |
3 | 0ms | 544kb | OK! | 10 |
4 | 20ms | 712kb | OK! | 10 |
5 | 36ms | 860kb | OK! | 10 |
6 | 80ms | 1408kb | OK! | 10 |
7 | 204ms | 2404kb | OK! | 10 |
8 | 176ms | 2936kb | OK! | 10 |
9 | 204ms | 2404kb | OK! | 10 |
10 | 208ms | 3176kb | OK! | 10 |
Punctaj total | 90 |