Pagini recente » Borderou de evaluare (job #56296) | Borderou de evaluare (job #471903) | Borderou de evaluare (job #1616689) | Borderou de evaluare (job #380548) | Borderou de evaluare (job #2881108)
Borderou de evaluare (job #2881108)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:60:15: warning: unused variable 'ok' [-Wunused-variable]
60 | int n, i, ok = 1;
| ^~
main.cpp:61:12: warning: unused variable 'lx1' [-Wunused-variable]
61 | double lx1, ly1 = -10000, lx2, ly2 = 10000;
| ^~~
main.cpp:61:17: warning: unused variable 'ly1' [-Wunused-variable]
61 | double lx1, ly1 = -10000, lx2, ly2 = 10000;
| ^~~
main.cpp:61:31: warning: unused variable 'lx2' [-Wunused-variable]
61 | double lx1, ly1 = -10000, lx2, ly2 = 10000;
| ^~~
main.cpp:61:36: warning: unused variable 'ly2' [-Wunused-variable]
61 | double lx1, ly1 = -10000, lx2, ly2 = 10000;
| ^~~
main.cpp: In function 'bool intersect(segm, segm)':
main.cpp:56:1: warning: control reaches end of non-void function [-Wreturn-type]
56 | }
| ^
main.cpp:49:20: warning: 'cb' may be used uninitialized in this function [-Wmaybe-uninitialized]
49 | xint = (ca - cb) / (pb - pa);
| ~~~~^~~~~
main.cpp:50:14: warning: 'ca' may be used uninitialized in this function [-Wmaybe-uninitialized]
50 | yint = pa * xint + ca;
| ~~~~~^~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 3ms | 323kb | Raspuns gresit | 0 | 0 |
2 | 2ms | 184kb | Raspuns gresit | 0 | 0 |
3 | 1ms | 184kb | Raspuns gresit | 0 | 0 |
4 | 1ms | 184kb | Raspuns gresit | 0 | 0 |
5 | 5ms | 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 | 6ms | 278kb | Raspuns gresit | 0 |
Punctaj total | 0 |