Borderou de evaluare (job #1696057)

Utilizator LucianTLucian Trepteanu LucianT Data 28 aprilie 2016 12:47:25
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:38:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] cat1[c][0]++; ^ user.cpp:39:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] cat1[c][i]=cat1[c][0]; ^ user.cpp:39:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] cat1[c][i]=cat1[c][0]; ^ user.cpp:40:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] A[c][cat1[c][0]]=i; ^ user.cpp:40:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] A[c][cat1[c][0]]=i; ^ user.cpp:45:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] ap[c]++; ^ user.cpp:46:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] aux=ap[c]; ^ user.cpp:47:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[i].first=A[c][aux]; ^ user.cpp:31: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:32: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:33: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
10ms852kbOK10
20ms840kbOK10
30ms888kbOK10
40ms1244kbOK10
58ms1640kbOK10
612ms1564kbOK10
712ms1808kbOK10
8Depăşit1604kbTime limit exceeded.0
912ms1788kbOK10
1032ms1800kbOK10
Punctaj total90

Ceva nu functioneaza?