Pagini recente » Borderou de evaluare (job #2451911) | Borderou de evaluare (job #2918095) | Borderou de evaluare (job #2876805) | Borderou de evaluare (job #351919) | Borderou de evaluare (job #2848103)
Borderou de evaluare (job #2848103)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:43:20: warning: unused variable 'x' [-Wunused-variable]
43 | for(int i = 1, x, y, z, t; i <= n; ++i) {
| ^
main.cpp:43:23: warning: unused variable 'y' [-Wunused-variable]
43 | for(int i = 1, x, y, z, t; i <= n; ++i) {
| ^
main.cpp:43:26: warning: unused variable 'z' [-Wunused-variable]
43 | for(int i = 1, x, y, z, t; i <= n; ++i) {
| ^
main.cpp:43:29: warning: unused variable 't' [-Wunused-variable]
43 | for(int i = 1, x, y, z, t; i <= n; ++i) {
| ^
main.cpp:31:45: warning: 'py' may be used uninitialized in this function [-Wmaybe-uninitialized]
31 | return sqrt((X1 - X2) * (X1 - X2) + (Y1 - Y2) * (Y1 - Y2));
| ~~~~^~~~~
main.cpp:66:24: note: 'py' was declared here
66 | double px, py; //punctul de intersectie al dreptelor
| ^~
main.cpp:31:21: warning: 'px' may be used uninitialized in this function [-Wmaybe-uninitialized]
31 | return sqrt((X1 - X2) * (X1 - X2) + (Y1 - Y2) * (Y1 - Y2));
| ~~~~^~~~~
main.cpp:66:20: note: 'px' was declared here
66 | double px, py; //punctul de intersectie al dreptelor
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 184kb | OK | 10 | 50 |
2 | 2ms | 184kb | OK | 10 |
3 | 2ms | 184kb | OK | 10 |
4 | 2ms | 184kb | OK | 10 |
5 | 2ms | 184kb | OK | 10 |
6 | 2ms | 184kb | OK | 10 | 10 |
7 | 16ms | 200kb | OK | 10 | 10 |
8 | 16ms | 200kb | OK | 10 | 10 |
9 | 16ms | 200kb | OK | 10 | 10 |
10 | 16ms | 200kb | OK | 10 | 10 |
Punctaj total | 100 |