Pagini recente » Borderou de evaluare (job #1749294) | Borderou de evaluare (job #2130840) | Borderou de evaluare (job #2364464) | Borderou de evaluare (job #2215359) | Borderou de evaluare (job #2859064)
Borderou de evaluare (job #2859064)
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:111:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
111 | for (int i = 1; i < res.size(); i++) {
| ~~^~~~~~~~~~~~
main.cpp:134:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
134 | for (int i = 0; i + 1 < hull.size(); i++) {
| ~~~~~~^~~~~~~~~~~~~
main.cpp:138:31: warning: comparison of integer expressions of different signedness: 'std::vector<Point>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
138 | while(hull.size() > i + 2) hull.pop_back();
| ~~~~~~~~~~~~^~~~~~~
main.cpp:142:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
142 | for (int i = 0; i + 1 < hull.size(); i++) {
| ~~~~~~^~~~~~~~~~~~~
main.cpp:143:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
143 | for (int j = i + 1; j + 1 < hull.size(); j++) {
| ~~~~~~^~~~~~~~~~~~~
main.cpp:148:26: warning: unused variable 'myDist' [-Wunused-variable]
148 | auto myDist = dist(pt[z], Line(hull[i], hull[i + 1]),
| ^~~~~~
main.cpp:157:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
157 | for (int i = 0; i + 1 < hull.size(); i++) {
| ~~~~~~^~~~~~~~~~~~~
main.cpp:160:22: warning: unused variable 'myDist' [-Wunused-variable]
160 | auto myDist = horiDis(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:180:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
180 | for (int i = 0; i + 1 < hull.size(); i++) {
| ~~~~~~^~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | Incorect! | 0 |
2 | 194ms | 1662kb | Incorect! | 0 |
3 | 2ms | 184kb | Incorect! | 0 |
4 | 2ms | 184kb | Incorect! | 0 |
5 | 2ms | 184kb | Incorect! | 0 |
6 | 2ms | 184kb | Incorect! | 0 |
7 | 2ms | 184kb | Incorect! | 0 |
8 | 6ms | 389kb | Incorect! | 0 |
9 | 6ms | 360kb | Incorect! | 0 |
10 | 2ms | 184kb | Incorect! | 0 |
11 | 6ms | 331kb | Incorect! | 0 |
12 | 6ms | 466kb | Incorect! | 0 |
13 | 2ms | 184kb | Incorect! | 0 |
14 | 402ms | 757kb | Time limit exceeded | 0 |
15 | 2ms | 184kb | Incorect! | 0 |
16 | 402ms | 581kb | Time limit exceeded | 0 |
17 | 88ms | 1155kb | Incorect! | 0 |
18 | 45ms | 917kb | Incorect! | 0 |
19 | 103ms | 1343kb | Incorect! | 0 |
20 | 402ms | 729kb | Time limit exceeded | 0 |
Punctaj total | 0 |