Borderou de evaluare (job #1546567)

Utilizator gedicaAlpaca Gedit gedica Data 8 decembrie 2015 11:16:33
Problema Reactivi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:59:63: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf(Fisier, "%d %d", &r[i].mini, &r[i].maxi, &x, &y); ^ user.cpp:59:63: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘char*’ [-Wformat=] user.cpp:59:63: warning: too many arguments for format [-Wformat-extra-args] user.cpp:57:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(Fisier, "%d", &N); ^ user.cpp:59:64: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(Fisier, "%d %d", &r[i].mini, &r[i].maxi, &x, &y); ^ user.cpp: In function ‘int Cauta(char, char)’: user.cpp:44:12: warning: ‘Unde’ may be used uninitialized in this function [-Wmaybe-uninitialized] return Unde; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms260kbOK1010
20ms260kbOK1010
30ms260kbOK1010
44ms272kbOK1010
50ms264kbOK1060
60ms252kbOK10
74ms268kbOK10
80ms260kbOK10
98ms272kbOK10
100ms252kbOK10
Punctaj total100

Ceva nu functioneaza?