Borderou de evaluare (job #1374908)

Utilizator usermeBogdan Cretu userme Data 5 martie 2015 11:21:28
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:20: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:20: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:18: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
40ms236kbIncorect0
50ms232kbIncorect0
60ms232kbIncorect00
70ms232kbIncorect0
80ms236kbIncorect0
90ms236kbIncorect0
100ms236kbIncorect0
Punctaj total0

Ceva nu functioneaza?