Borderou de evaluare (job #1696015)

Utilizator testsursaSurseTest testsursa Data 28 aprilie 2016 11:33:12
Problema Swap Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] cat1[c][0]++; ^ user.cpp:37:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] cat1[c][i]=cat1[c][0]; ^ user.cpp:37:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] cat1[c][i]=cat1[c][0]; ^ user.cpp:42:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] cat2[c][0]++; ^ user.cpp:43:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] cat2[c][i]=cat2[c][0]; ^ user.cpp:43:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] cat2[c][i]=cat2[c][0]; ^ user.cpp:48:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] aux=cat1[c][i]; ^ user.cpp:51:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(cat2[c][j]==aux) ^ user.cpp:29:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("swap.in","r",stdin); ^ user.cpp:30:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("swap.out","w",stdout); ^ user.cpp:31:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n%s",a+1,b+1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms840kbOK10
20ms832kbOK10
34ms912kbOK10
44ms1464kbOK10
5Depăşit1836kbTime limit exceeded.0
6Depăşit1632kbTime limit exceeded.0
7Depăşit2352kbTime limit exceeded.0
8Depăşit1664kbTime limit exceeded.0
9Depăşit2252kbTime limit exceeded.0
10Depăşit3008kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?