Borderou de evaluare (job #1515329)

Utilizator preda.andreiPreda Andrei preda.andrei Data 1 noiembrie 2015 15:00:32
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘bool eval()’: user.cpp:31:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] bool r=b[s[ind]]; ^ user.cpp: In function ‘int main()’: user.cpp:90:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] b[ch] = !b[ch]; ^ user.cpp:90:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] b[ch] = !b[ch]; ^ user.cpp:74:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s, 1500, fin); ^ user.cpp:86:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d\n", &t); ^ user.cpp:88:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%c", &ch); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms448kbOK10
20ms444kbIncorect0
30ms444kbOK10
40ms448kbOK10
50ms444kbIncorect0
60ms448kbIncorect0
70ms448kbIncorect0
80ms444kbIncorect0
90ms448kbIncorect0
100ms448kbIncorect0
Punctaj total30

Ceva nu functioneaza?