Borderou de evaluare (job #1306956)

Utilizator sorina.andreiAndrei Sorina sorina.andrei Data 31 decembrie 2014 18:39:57
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:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int*’ [-Wformat=] fprintf(fout," %d",&total); ^ user.cpp:13:25: 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
10ms244kbIncorect0
20ms248kbIncorect0
30ms248kbIncorect0
44ms248kbIncorect0
5276ms260kbIncorect0
6Depăşit248kbTime limit exceeded.0
7Depăşit252kbTime limit exceeded.0
8Depăşit248kbTime limit exceeded.0
9Depăşit252kbTime limit exceeded.0
10Depăşit244kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?