Pagini recente » Borderou de evaluare (job #3346516) | Borderou de evaluare (job #3338514) | Borderou de evaluare (job #3334413) | Borderou de evaluare (job #3336137) | Borderou de evaluare (job #3341641)
Borderou de evaluare (job #3341641)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:15:12: warning: unused variable 'a' [-Wunused-variable]
15 | int n, a, b;
| ^
main.cpp:15:15: warning: unused variable 'b' [-Wunused-variable]
15 | int n, a, b;
| ^
In function 'double dist(int, int)',
inlined from 'int main()' at main.cpp:35:38:
main.cpp:11:56: warning: 'poz' may be used uninitialized [-Wmaybe-uninitialized]
11 | return sqrt((vx[a]-vx[b])*(vx[a]-vx[b])+(vy[a]-vy[b])*(vy[a]-vy[b]));
| ~~~~^
main.cpp: In function 'int main()':
main.cpp:22:9: note: 'poz' was declared here
22 | int poz;
| ^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | OK | 10 |
| 2 | 0ms | 303kb | Incorect | 0 |
| 3 | 0ms | 311kb | Incorect | 0 |
| 4 | 2ms | 303kb | Incorect | 0 |
| 5 | 4ms | 303kb | Incorect | 0 |
| 6 | 8ms | 303kb | Incorect | 0 |
| 7 | 14ms | 303kb | OK | 10 |
| 8 | 24ms | 303kb | Incorect | 0 |
| 9 | 35ms | 303kb | Incorect | 0 |
| 10 | 33ms | 303kb | Incorect | 0 |
| Punctaj total | 20 |