Borderou de evaluare (job #1268563)

Utilizator fluture.godlikeGafton Mihnea Alexandru fluture.godlike Data 21 noiembrie 2014 01:26:26
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:12:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(fout, "%d ", arr[a]); ^ user.cpp: In function ‘int main()’: user.cpp:18:12: warning: unused variable ‘max’ [-Wunused-variable] int n, max; ^ 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:57: 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, "%ld", &arr[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms260kbLungime incorecta!00
28ms352kbCorect!1010
30ms252kbLungime incorecta!00
40ms256kbLungime incorecta!00
54ms252kbLungime incorecta!00
64ms264kbLungime incorecta!00
712ms264kbLungime incorecta!00
8Depăşit704kbTime limit exceeded.00
9Depăşit800kbTime limit exceeded.0
10Depăşit704kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?