Pagini recente » Borderou de evaluare (job #1917016) | Borderou de evaluare (job #28329) | Borderou de evaluare (job #850837) | Borderou de evaluare (job #2601373) | Borderou de evaluare (job #2881090)
Borderou de evaluare (job #2881090)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:59:15: warning: unused variable 'ok' [-Wunused-variable]
59 | int n, i, ok = 1;
| ^~
main.cpp:60:12: warning: unused variable 'lx1' [-Wunused-variable]
60 | double lx1, ly1 = -10000, lx2, ly2 = 10000;
| ^~~
main.cpp:60:17: warning: unused variable 'ly1' [-Wunused-variable]
60 | double lx1, ly1 = -10000, lx2, ly2 = 10000;
| ^~~
main.cpp:60:31: warning: unused variable 'lx2' [-Wunused-variable]
60 | double lx1, ly1 = -10000, lx2, ly2 = 10000;
| ^~~
main.cpp:60:36: warning: unused variable 'ly2' [-Wunused-variable]
60 | double lx1, ly1 = -10000, lx2, ly2 = 10000;
| ^~~
main.cpp: In function 'bool intersect(segm, segm)':
main.cpp:55:1: warning: control reaches end of non-void function [-Wreturn-type]
55 | }
| ^
main.cpp:48:20: warning: 'cb' may be used uninitialized in this function [-Wmaybe-uninitialized]
48 | xint = (ca - cb) / (pb - pa);
| ~~~~^~~~~
main.cpp:49:14: warning: 'ca' may be used uninitialized in this function [-Wmaybe-uninitialized]
49 | yint = pa * xint + ca;
| ~~~~~^~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 3ms | 286kb | Raspuns gresit | 0 | 0 |
2 | 3ms | 184kb | Raspuns gresit | 0 | 0 |
3 | 1ms | 184kb | Raspuns gresit | 0 | 0 |
4 | 3ms | 188kb | Raspuns gresit | 0 | 0 |
5 | 1ms | 184kb | Raspuns gresit | 0 | 0 |
6 | 1ms | 184kb | Raspuns gresit | 0 |
7 | 1ms | 184kb | Raspuns gresit | 0 | 0 |
8 | 1ms | 184kb | Raspuns gresit | 0 |
9 | 1ms | 184kb | Raspuns gresit | 0 | 0 |
10 | 5ms | 192kb | Raspuns gresit | 0 |
Punctaj total | 0 |