Borderou de evaluare (job #1686327)

Utilizator JavaAlexDinu Alexandru JavaAlex Data 12 aprilie 2016 10:43:28
Problema Decrease Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(in, "%d", &n); ^ user.cpp:22:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(in, "%d", &v[i]); ^ user.cpp:19:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &n); ^ user.cpp:22:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbOK10
20ms276kbOK10
30ms276kbOK10
40ms276kbOK10
50ms276kbOK10
64ms304kbOK10
70ms276kbOK10
868ms328kbOK10
9Depăşit328kbTime limit exceeded.0
1088ms332kbOK10
Punctaj total90

Ceva nu functioneaza?