Borderou de evaluare (job #1443518)

Utilizator preda.andreiPreda Andrei preda.andrei Data 28 mai 2015 00:57:36
Problema Balul Bobocilor Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘float*’ [-Wformat=] fscanf(fin, "%f%f%df", &v2, &x, &y); ^ user.cpp:13:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%f", &dist); ^ user.cpp:14:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%f%f%f", &v1, &x, &y); ^ user.cpp:15:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%f%f%df", &v2, &x, &y); ^ user.cpp:16:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%f", &vf); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms460kbRaspuns CORECT! N-ai stres!10
20ms460kbRaspuns CORECT! Genial!10
30ms464kbRaspuns CORECT! Ai nimerit-o!10
40ms456kbRaspuns Gresit :(0
50ms464kbRaspuns Gresit :(0
60ms464kbRaspuns Gresit :(0
70ms456kbRaspuns Gresit :(0
80ms460kbRaspuns Gresit :(0
90ms460kbRaspuns CORECT! Genial!10
100ms464kbRaspuns Gresit :(0
Punctaj total40

Ceva nu functioneaza?