Borderou de evaluare (job #1193314)

Utilizator bghimisFMI Ghimis Bogdan bghimis Data 31 mai 2014 14:10:26
Problema Lacusta Status done
Runda Teme Pregatire ACM Unibuc 2013 Semestrul 2 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
112ms504kbOK1030
28ms460kbOK10
30ms312kbOK10
40ms312kbOK1030
50ms368kbOK10
60ms328kbOK10
70ms300kbOK1040
80ms356kbOK10
90ms360kbOK10
1012ms484kbOK10
Punctaj total100

Ceva nu functioneaza?