Borderou de evaluare (job #1370839)

Utilizator biaiftimeIftime Bianca biaiftime Data 3 martie 2015 17:34:33
Problema Zimeria Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void Alfabet()’: user.cpp:11:24: warning: NULL used in arithmetic [-Wpointer-arith] for(i=0;alfabet[i]!=NULL;i++) alf[alfabet[i]]=i+1; ^ user.cpp:11:48: warning: array subscript has type ‘char’ [-Wchar-subscripts] for(i=0;alfabet[i]!=NULL;i++) alf[alfabet[i]]=i+1; ^ user.cpp: In function ‘int Strcmp(char*, char*)’: user.cpp:17:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(alf[s[i]]>alf[t[j]]) return 1; ^ user.cpp:17:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(alf[s[i]]>alf[t[j]]) return 1; ^ user.cpp:18:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if(alf[s[i]]<alf[t[j]]) return -1; ^ user.cpp:18:35: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if(alf[s[i]]<alf[t[j]]) return -1; ^ user.cpp: In function ‘int Pivotare(int, int)’: user.cpp:25:7: warning: unused variable ‘piv’ [-Wunused-variable] char piv[6],aux[6]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms420kbOK5
24ms432kbOK5
3Depăşit696kbTime limit exceeded.0
4Depăşit980kbTime limit exceeded.0
5Depăşit1568kbTime limit exceeded.0
6Depăşit2736kbTime limit exceeded.0
70ms420kbOK5
88ms428kbOK5
952ms436kbOK5
10260ms456kbOK5
11Depăşit460kbTime limit exceeded.0
12Depăşit520kbTime limit exceeded.0
13Depăşit640kbTime limit exceeded.0
14Depăşit872kbTime limit exceeded.0
15Depăşit984kbTime limit exceeded.0
16Depăşit1280kbTime limit exceeded.0
17Depăşit1576kbTime limit exceeded.0
18Depăşit1872kbTime limit exceeded.0
19Depăşit2276kbTime limit exceeded.0
20Depăşit2740kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?