Pagini recente » Borderou de evaluare (job #1589418) | Borderou de evaluare (job #523146) | Borderou de evaluare (job #418486) | Borderou de evaluare (job #1544395) | Borderou de evaluare (job #2859207)
Borderou de evaluare (job #2859207)
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:119:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
119 | for (int i = 1; i < res.size(); i++) {
| ~~^~~~~~~~~~~~
main.cpp:146:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
146 | for (int i = 0; i + 1 < hull.size(); i++) {
| ~~~~~~^~~~~~~~~~~~~
main.cpp:151:31: warning: comparison of integer expressions of different signedness: 'std::vector<Point>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
151 | while(hull.size() > i + 2) hull.pop_back();
| ~~~~~~~~~~~~^~~~~~~
main.cpp:155:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
155 | for (int i = 0; i + 1 < hull.size(); i++) {
| ~~~~~~^~~~~~~~~~~~~
main.cpp:156:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
156 | for (int j = i + 1; j + 1 < hull.size(); j++) {
| ~~~~~~^~~~~~~~~~~~~
main.cpp:161:26: warning: unused variable 'myDist' [-Wunused-variable]
161 | auto myDist = dist(pt[z], Line(hull[i], hull[i + 1]),
| ^~~~~~
main.cpp:170:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
170 | for (int i = 0; i + 1 < hull.size(); i++) {
| ~~~~~~^~~~~~~~~~~~~
main.cpp:173:22: warning: unused variable 'myDist' [-Wunused-variable]
173 | auto myDist = horiDis(pt[z] , Line(hull[i] , hull[i + 1]));
| ^~~~~~
main.cpp:176:22: warning: unused variable 'myDist' [-Wunused-variable]
176 | auto myDist = horiDis(pt[z] , Line(hull[i] , hull[i + 1]));
| ^~~~~~
main.cpp:182:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
182 | for (int i = 0; i + 1 < hull.size(); i++) {
| ~~~~~~^~~~~~~~~~~~~
main.cpp:187:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
187 | for (int i = 0; i + 1 < hull.size(); i++) {
| ~~~~~~^~~~~~~~~~~~~
main.cpp:197:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
197 | for (int i = 0; i + 1 < hull.size(); i++) {
| ~~~~~~^~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 175ms | 1150kb | OK! | 5 |
2 | 402ms | 1646kb | Time limit exceeded | 0 |
3 | 25ms | 643kb | OK! | 5 |
4 | 2ms | 184kb | OK! | 5 |
5 | 2ms | 184kb | OK! | 5 |
6 | 2ms | 184kb | OK! | 5 |
7 | 2ms | 184kb | Incorect! | 0 |
8 | 6ms | 331kb | OK! | 5 |
9 | 6ms | 327kb | OK! | 5 |
10 | 2ms | 184kb | OK! | 5 |
11 | 6ms | 331kb | OK! | 5 |
12 | 6ms | 462kb | OK! | 5 |
13 | 2ms | 184kb | OK! | 5 |
14 | 402ms | 745kb | Time limit exceeded | 0 |
15 | 2ms | 184kb | OK! | 5 |
16 | 402ms | 573kb | Time limit exceeded | 0 |
17 | 93ms | 1196kb | OK! | 5 |
18 | 78ms | 1015kb | OK! | 5 |
19 | 175ms | 1351kb | OK! | 5 |
20 | 402ms | 712kb | Time limit exceeded | 0 |
Punctaj total | 75 |