Borderou de evaluare (job #2844717)

Utilizator Remus.RughinisRemus Rughinis Remus.Rughinis Data 5 februarie 2022 10:50:00
Problema Geometry Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:13:41: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] 13 | return sqrt((x1 - x2)*(x1 - x2) + (y1 - y2)*(y1 - y2)); | ~~~~^~~~~ main.c:46:12: note: 'y' was declared here 46 | double x,y; | ^ main.c:13:19: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] 13 | return sqrt((x1 - x2)*(x1 - x2) + (y1 - y2)*(y1 - y2)); | ~~~~^~~~~ main.c:46:10: note: 'x' was declared here 46 | double x,y; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms184kbOK1050
22ms184kbOK10
32ms184kbOK10
42ms184kbOK10
52ms184kbOK10
62ms184kbOK1010
716ms200kbOK1010
816ms200kbOK1010
916ms200kbOK1010
1016ms200kbOK1010
Punctaj total100

Ceva nu functioneaza?