Borderou de evaluare (job #1320318)

Utilizator danielmaxim95FMI Maxim Daniel danielmaxim95 Data 17 ianuarie 2015 20:36:47
Problema Sortare prin comparare Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void echilibreaza(int)’: user.cpp:111:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if((v[p].ns >= 2)||(v[p].nd >= 2)) ^ user.cpp: In function ‘void afiseaza(int)’: user.cpp:170:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘nod’ [-Wformat=] fprintf(f, "%d ", v[p]); ^ user.cpp: In function ‘int main()’: user.cpp:191:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &n); ^ user.cpp:192:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &x); ^ user.cpp:196:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%i", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms256kbOK520
20ms256kbOK5
30ms260kbOK5
40ms264kbOK5
54ms292kbOK520
60ms288kbOK5
74ms288kbOK5
84ms288kbOK5
9Depăşit584kbTime limit exceeded.00
10224ms2996kbOK5
11Depăşit552kbTime limit exceeded.0
12Depăşit624kbTime limit exceeded.0
13Depăşit584kbTime limit exceeded.00
14Depăşit5248kbTime limit exceeded.0
15Depăşit556kbTime limit exceeded.0
16Depăşit628kbTime limit exceeded.0
17Depăşit580kbTime limit exceeded.00
18Depăşit5900kbTime limit exceeded.0
19Depăşit556kbTime limit exceeded.0
20Depăşit632kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?