Pagini recente » Borderou de evaluare (job #2181815) | Borderou de evaluare (job #2193437) | Borderou de evaluare (job #2516744) | Borderou de evaluare (job #50286) | Borderou de evaluare (job #2859208)
Borderou de evaluare (job #2859208)
Raport evaluator
Compilare:
main.cpp: In function 'long double horiDis(Point, Line)':
main.cpp:88:10: warning: variable 'myInter' set but not used [-Wunused-but-set-variable]
88 | auto myInter = inter(a, Line(0, 1, -p.y));
| ^~~~~~~
main.cpp: In function 'int main()':
main.cpp:122:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
122 | for (int i = 1; i < res.size(); i++) {
| ~~^~~~~~~~~~~~
main.cpp:149:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
149 | for (int i = 0; i + 1 < hull.size(); i++) {
| ~~~~~~^~~~~~~~~~~~~
main.cpp:154:31: warning: comparison of integer expressions of different signedness: 'std::vector<Point>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
154 | while(hull.size() > i + 2) hull.pop_back();
| ~~~~~~~~~~~~^~~~~~~
main.cpp:158:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
158 | for (int i = 0; i + 1 < hull.size(); i++) {
| ~~~~~~^~~~~~~~~~~~~
main.cpp:159:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
159 | for (int j = i + 1; j + 1 < hull.size(); j++) {
| ~~~~~~^~~~~~~~~~~~~
main.cpp:164:26: warning: unused variable 'myDist' [-Wunused-variable]
164 | auto myDist = dist(pt[z], Line(hull[i], hull[i + 1]),
| ^~~~~~
main.cpp:173:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
173 | for (int i = 0; i + 1 < hull.size(); i++) {
| ~~~~~~^~~~~~~~~~~~~
main.cpp:176:22: warning: unused variable 'myDist' [-Wunused-variable]
176 | auto myDist = horiDis(pt[z] , Line(hull[i] , hull[i + 1]));
| ^~~~~~
main.cpp:179:22: warning: unused variable 'myDist' [-Wunused-variable]
179 | auto myDist = horiDis(pt[z] , Line(hull[i] , hull[i + 1]));
| ^~~~~~
main.cpp:185:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
185 | for (int i = 0; i + 1 < hull.size(); i++) {
| ~~~~~~^~~~~~~~~~~~~
main.cpp:190:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
190 | for (int i = 0; i + 1 < hull.size(); i++) {
| ~~~~~~^~~~~~~~~~~~~
main.cpp:200:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
200 | for (int i = 0; i + 1 < hull.size(); i++) {
| ~~~~~~^~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 175ms | 1122kb | OK! | 5 |
2 | 402ms | 1597kb | Time limit exceeded | 0 |
3 | 25ms | 622kb | OK! | 5 |
4 | 2ms | 184kb | OK! | 5 |
5 | 2ms | 184kb | OK! | 5 |
6 | 2ms | 184kb | OK! | 5 |
7 | 2ms | 184kb | Incorect! | 0 |
8 | 6ms | 360kb | OK! | 5 |
9 | 6ms | 331kb | OK! | 5 |
10 | 2ms | 184kb | OK! | 5 |
11 | 6ms | 331kb | OK! | 5 |
12 | 6ms | 524kb | OK! | 5 |
13 | 2ms | 184kb | OK! | 5 |
14 | 402ms | 708kb | Time limit exceeded | 0 |
15 | 2ms | 184kb | OK! | 5 |
16 | 402ms | 557kb | Time limit exceeded | 0 |
17 | 98ms | 1200kb | OK! | 5 |
18 | 79ms | 913kb | OK! | 5 |
19 | 180ms | 1273kb | OK! | 5 |
20 | 402ms | 679kb | Time limit exceeded | 0 |
Punctaj total | 75 |