Borderou de evaluare (job #1756629)

Utilizator hrazvanHarsan Razvan hrazvan Data 13 septembrie 2016 11:10:39
Problema Swap Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:41:14: warning: array subscript has type ‘char’ [-Wchar-subscripts] fr1[s1[i]]++; ^ user.cpp:42:14: warning: array subscript has type ‘char’ [-Wchar-subscripts] fr2[s2[i]]++; ^ user.cpp:55:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] p = ut[s2[i]]; ^ user.cpp:56:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] ut[s2[i]] = next[ut[s2[i]]]; ^ user.cpp:56:32: warning: array subscript has type ‘char’ [-Wchar-subscripts] ut[s2[i]] = next[ut[s2[i]]]; ^ user.cpp:28:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s1, MAXL + 2, in); ^ user.cpp:29:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s2, MAXL + 2, in); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK10
20ms220kbOK10
30ms268kbOK10
40ms268kbOK10
50ms536kbOK10
64ms720kbOK10
74ms716kbOK10
84ms716kbOK10
94ms716kbOK10
104ms716kbOK10
Punctaj total100

Ceva nu functioneaza?