Pagini recente » Borderou de evaluare (job #2096086) | Borderou de evaluare (job #2507719) | Borderou de evaluare (job #1517550) | Borderou de evaluare (job #2957569) | Borderou de evaluare (job #2859224)
Borderou de evaluare (job #2859224)
Raport evaluator
Compilare:
main.cpp: In function 'float 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:123:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
123 | for (i = 1; i < res.size(); i++) {
| ~~^~~~~~~~~~~~
main.cpp:150:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
150 | for (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:165:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
165 | for (i = 0; i + 1 < hull.size(); i++) {
| ~~~~~~^~~~~~~~~~~~~
main.cpp:166:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
166 | for (j = i + 1; j + 1 < hull.size(); j++) {
| ~~~~~~^~~~~~~~~~~~~
main.cpp:178:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
178 | for (i = 0; i + 1 < hull.size(); i++) {
| ~~~~~~^~~~~~~~~~~~~
main.cpp:188:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
188 | for (i = 0; i + 1 < hull.size(); i++) {
| ~~~~~~^~~~~~~~~~~~~
main.cpp:193:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
193 | for (i = 0; i + 1 < hull.size(); i++) {
| ~~~~~~^~~~~~~~~~~~~
main.cpp:204:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
204 | for (i = 0; i + 1 < hull.size(); i++) {
| ~~~~~~^~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 21ms | 331kb | Incorect! | 0 |
2 | 93ms | 638kb | Incorect! | 0 |
3 | 6ms | 286kb | Incorect! | 0 |
4 | 2ms | 184kb | Incorect! | 0 |
5 | 2ms | 184kb | Incorect! | 0 |
6 | 2ms | 184kb | Incorect! | 0 |
7 | 2ms | 184kb | OK! | 5 |
8 | 2ms | 184kb | Incorect! | 0 |
9 | 2ms | 184kb | Incorect! | 0 |
10 | 2ms | 184kb | Incorect! | 0 |
11 | 6ms | 323kb | Incorect! | 0 |
12 | 2ms | 184kb | Incorect! | 0 |
13 | 2ms | 184kb | Incorect! | 0 |
14 | 281ms | 524kb | Incorect! | 0 |
15 | 2ms | 184kb | Incorect! | 0 |
16 | 402ms | 471kb | Time limit exceeded | 0 |
17 | 50ms | 397kb | Incorect! | 0 |
18 | 25ms | 368kb | Incorect! | 0 |
19 | 49ms | 397kb | Incorect! | 0 |
20 | 275ms | 679kb | Incorect! | 0 |
Punctaj total | 5 |