Borderou de evaluare (job #1374946)

Utilizator usermeBogdan Cretu userme Data 5 martie 2015 11:30:23
Problema Flori Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:26: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%u%u",&n,&k); ^ user.cpp:15:26: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:22:35: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%u",&v[i][j]); ^ user.cpp:15:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%u%u",&n,&k); ^ user.cpp:22:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%u",&v[i][j]); ^ user.cpp:20:19: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized] short int x; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms236kbIncorect00
20ms236kbIncorect0
30ms232kbIncorect0
40ms232kbIncorect0
50ms232kbIncorect0
60ms232kbIncorect00
70ms236kbIncorect0
80ms232kbIncorect0
90ms232kbIncorect0
100ms232kbIncorect0
Punctaj total0

Ceva nu functioneaza?