Borderou de evaluare (job #1486054)

Utilizator enedumitruene dumitru enedumitru Data 13 septembrie 2015 19:04:48
Problema Reactivi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int cmp(art, art)’: user.cpp:66:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(a.vmin==b.vmin) ^ user.cpp: In function ‘int main()’: user.cpp:76:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf(Fisier, "%d %d", &r[i].vmin, &r[i].vmax, &x, &y); ^ user.cpp:76:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘char*’ [-Wformat=] user.cpp:76:59: warning: too many arguments for format [-Wformat-extra-args] user.cpp:74:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(Fisier, "%d", &N); ^ user.cpp:76:60: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(Fisier, "%d %d", &r[i].vmin, &r[i].vmax, &x, &y); ^ user.cpp: In function ‘int Cauta(char, char)’: user.cpp:36:10: warning: ‘Unde’ may be used uninitialized in this function [-Wmaybe-uninitialized] return Unde; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms256kbOK1010
20ms252kbOK1010
30ms260kbOK1010
44ms276kbOK1010
50ms264kbOK1060
60ms260kbOK10
74ms276kbOK10
80ms264kbOK10
98ms272kbOK10
100ms260kbOK10
Punctaj total100

Ceva nu functioneaza?