Borderou de evaluare (job #1254567)

Utilizator devilz05Orzan Alexandru devilz05 Data 2 noiembrie 2014 22:07:20
Problema Gutui Status done
Runda teme_upb Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void readData(const char*, gutui**, long int*, long int*, long int*)’: user.cpp:30:42: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(file, "%i%i%i", gmax, H, U); ^ user.cpp:30:42: warning: format ‘%i’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:30:42: warning: format ‘%i’ expects argument of type ‘int*’, but argument 5 has type ‘long int*’ [-Wformat=] user.cpp:30:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file, "%i%i%i", gmax, H, U); ^ user.cpp:34:53: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file, "%li%li", &g[i].h, &g[i].w); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
20ms264kbIncorect0
30ms268kbIncorect0
40ms268kbIncorect0
50ms268kbIncorect0
60ms272kbIncorect0
74ms344kbIncorect0
812ms428kbIncorect0
944ms740kbIncorect0
1076ms1052kbIncorect0
Punctaj total10

Ceva nu functioneaza?