Borderou de evaluare (job #1486051)

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

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:75: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:75:59: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘char*’ [-Wformat=] user.cpp:75:59: warning: too many arguments for format [-Wformat-extra-args] user.cpp: In function ‘int cmp(art, art)’: user.cpp:68:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:73: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:75: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
10ms232kbKilled by signal 11(SIGSEGV).00
20ms268kbKilled by signal 11(SIGSEGV).00
30ms236kbKilled by signal 11(SIGSEGV).00
44ms272kbKilled by signal 11(SIGSEGV).00
54ms272kbKilled by signal 11(SIGSEGV).00
60ms236kbKilled by signal 11(SIGSEGV).0
70ms256kbKilled by signal 11(SIGSEGV).0
80ms236kbKilled by signal 11(SIGSEGV).0
94ms252kbKilled by signal 11(SIGSEGV).0
100ms236kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?