Borderou de evaluare (job #1571306)

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

Raport evaluator

Compilare: user.cpp: In function ‘bool baza(char*, int&)’: user.cpp:63:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] b = valoare[s[poz++]]; ^ user.cpp: In function ‘bool echivalente(char*, char*)’: user.cpp:118:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] valoare[variabile[j+1]] = (i & (1 << j)) ? true : false; ^ user.cpp: In function ‘bool potrivireVariabile(char*, char*, int&)’: user.cpp:143:57: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(s1[i] >= 'a' && s1[i] <= 'z' && prezent[s1[i]] == false){ ^ user.cpp:144:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] prezent[s1[i]] = true; ^ user.cpp:151: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
10ms452kbIncorect0
20ms448kbOK10
30ms448kbIncorect0
40ms452kbIncorect0
58ms452kbOK10
60ms448kbIncorect0
70ms448kbIncorect0
80ms452kbOK10
90ms452kbIncorect0
100ms444kbIncorect0
Punctaj total30

Ceva nu functioneaza?