Borderou de evaluare (job #1214849)

Utilizator PopescuMihai95Popescu Mihai PopescuMihai95 Data 31 iulie 2014 16:21:43
Problema Romb Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘double dist(double, double, double, double, double, double)’: user.cpp:27:21: warning: unused variable ‘D’ [-Wunused-variable] double a,b,c,nr,D; ^ user.cpp: In function ‘int main()’: user.cpp:40:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("romb.in","r",stdin); ^ user.cpp:41:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("romb.out","w",stdout); ^ user.cpp:42:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:45:61: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf %lf %d %lf %lf",&d.x,&d.y,&k,&cc.x,&cc.y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms300kbOK10
20ms304kbOK10
30ms296kbOK10
40ms300kbOK10
50ms300kbOK10
60ms300kbOK10
70ms300kbOK10
80ms300kbOK10
90ms300kbOK10
100ms300kbOK10
Punctaj total100

Ceva nu functioneaza?