Borderou de evaluare (job #1696020)

Utilizator testsursaSurseTest testsursa Data 28 aprilie 2016 11:44:13
Problema Swap Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:37:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] cat1[c][0]++; ^ user.cpp:38:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] cat1[c][i]=cat1[c][0]; ^ user.cpp:38:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] cat1[c][i]=cat1[c][0]; ^ user.cpp:39:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] A[c][cat1[c][0]]=i; ^ user.cpp:39:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] A[c][cat1[c][0]]=i; ^ user.cpp:44:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] cat2[c][0]++; ^ user.cpp:45:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] aux=cat2[c][i]=cat2[c][0]; ^ user.cpp:45:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] aux=cat2[c][i]=cat2[c][0]; ^ user.cpp:46:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[i].first=A[c][aux]; ^ user.cpp:30: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:31: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:32: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
10ms848kbOK10
20ms844kbOK10
30ms924kbOK10
40ms1572kbOK10
58ms2136kbOK10
612ms2080kbOK10
712ms2832kbOK10
8Depăşit2116kbTime limit exceeded.0
912ms2704kbOK10
1040ms3544kbOK10
Punctaj total90

Ceva nu functioneaza?