Borderou de evaluare (job #1306959)

Utilizator sorina.andreiAndrei Sorina sorina.andrei Data 31 decembrie 2014 18:40:42
Problema Bete2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%d ",&v[i]); ^ user.cpp:31:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int*’ [-Wformat=] fprintf(fout,"%d",&total); ^ user.cpp:13: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:16:32: 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
10ms252kbIncorect0
20ms256kbIncorect0
30ms256kbIncorect0
44ms260kbIncorect0
5276ms268kbIncorect0
6Depăşit252kbTime limit exceeded.0
7Depăşit256kbTime limit exceeded.0
8Depăşit252kbTime limit exceeded.0
9Depăşit252kbTime limit exceeded.0
10Depăşit256kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?