Borderou de evaluare (job #1939069)

Utilizator sergiudnyTritean Sergiu sergiudny Data 25 martie 2017 13:45:00
Problema Xspe Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%d",&n); ^ user.cpp:13:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%d",&v[i]); ^ user.cpp:23:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout,"%d ",rez[i]); ^ user.cpp:11:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&n); ^ user.cpp:13:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbOK10
20ms448kbOK10
3120ms3556kbOK10
4252ms6688kbOK10
5252ms6688kbOK10
6444ms11376kbOK10
7492ms12928kbOK10
8644ms16052kbOK10
9632ms16056kbOK10
10604ms16052kbOK10
Punctaj total100

Ceva nu functioneaza?