Borderou de evaluare (job #1193313)

Utilizator bghimisFMI Ghimis Bogdan bghimis Data 31 mai 2014 14:10:08
Problema Lacusta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:28: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(fi,"%u %u", &m, &n); ^ user.cpp:9:28: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:12:30: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(fi,"%u",&a[i][j]); ^ user.cpp:9:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%u %u", &m, &n); ^ user.cpp:12:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%u",&a[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
112ms500kbOK1030
28ms464kbOK10
30ms312kbOK10
40ms312kbOK1030
50ms360kbOK10
60ms336kbOK10
70ms296kbOK1040
80ms348kbOK10
90ms356kbOK10
1012ms480kbOK10
Punctaj total100

Ceva nu functioneaza?