Borderou de evaluare (job #1268574)

Utilizator fluture.godlikeGafton Mihnea Alexandru fluture.godlike Data 21 noiembrie 2014 01:52:38
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void afisare(int)’: user.cpp:13:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(fout, "%d ", v[a]); ^ user.cpp: In function ‘int main()’: user.cpp:22:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] for(int i =0; i< n; i++) fscanf(fin, "%d", &v[i]); ^ user.cpp:19:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &n); ^ user.cpp:22:54: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i =0; i< n; i++) fscanf(fin, "%d", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms256kbLungime incorecta!00
28ms352kbCorect!1010
30ms252kbLungime incorecta!00
40ms256kbLungime incorecta!00
50ms252kbLungime incorecta!00
68ms264kbLungime incorecta!00
712ms264kbLungime incorecta!00
8Depăşit696kbTime limit exceeded.00
9Depăşit796kbTime limit exceeded.0
10Depăşit704kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?