Borderou de evaluare (job #1571283)

Utilizator preda.andreiPreda Andrei preda.andrei Data 17 ianuarie 2016 19:16:53
Problema Logic Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘bool baza(char*, int&)’: user.cpp:61:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] else b = valoare[s[poz++]]; ^ user.cpp: In function ‘bool echivalente(char*, char*)’: user.cpp:111:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] valoare[variabile[i]] = i & (1 << j); ^ user.cpp: In function ‘bool potrivireVariabile(char*, char*, int&)’: user.cpp:130:57: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(s1[i] >= 'a' && s1[i] <= 'z' && prezent[s1[i]] == false){ ^ user.cpp:131:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] prezent[s1[i]] = true; ^ user.cpp:138:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(prezent[s2[i]] == false) ^ user.cpp: In function ‘int main()’: user.cpp:33: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:35:28: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s1, 300, fin); ^ user.cpp:39:28: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s2, 300, fin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbOK10
20ms448kbIncorect0
30ms444kbIncorect0
40ms452kbIncorect0
512ms452kbIncorect0
60ms452kbIncorect0
70ms448kbIncorect0
80ms448kbIncorect0
90ms452kbIncorect0
100ms452kbIncorect0
Punctaj total10

Ceva nu functioneaza?