Borderou de evaluare (job #2171263)

Utilizator TeoMiliMilitaru Teodora TeoMili Data 15 martie 2018 11:45:09
Problema Caps Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] a[i][s[i]]=1; ^ user.cpp:18:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] a[n+1][s[i]]++; ^ user.cpp:26:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] b[i][s1[i]]=1; ^ user.cpp:29:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] b[n+1][s1[i]]++; ^ user.cpp:76:40: warning: array subscript has type ‘char’ [-Wchar-subscripts] nr=nr+nrgr/2*a[ja][s[i]]; ^ user.cpp:80:40: warning: array subscript has type ‘char’ [-Wchar-subscripts] nr=nr+nrgr/2*a[ja][s[i]]; ^ user.cpp:85:41: warning: array subscript has type ‘char’ [-Wchar-subscripts] nr=nr+nrgr/2*b[jb][s1[i]]; ^ user.cpp:89:41: warning: array subscript has type ‘char’ [-Wchar-subscripts] nr=nr+nrgr/2*b[jb][s1[i]]; ^ user.cpp:94:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(k%4==1) ^ user.cpp:91:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(nrgr%2!=0) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms4840kbCorect10
24ms4768kbIncorect0
34ms4924kbIncorect0
44ms4976kbIncorect0
5372ms8108kbIncorect0
6660ms10608kbIncorect0
7Depăşit10516kbTime limit exceeded.0
8Depăşit12352kbTime limit exceeded.0
916ms7864kbIncorect0
1020ms8336kbIncorect0
1112ms7768kbIncorect0
1220ms8172kbIncorect0
13Depăşit24832kbTime limit exceeded.0
14Depăşit39088kbTime limit exceeded.0
1544msDepăşitMemory limit exceeded.0
1644msDepăşitMemory limit exceeded.0
1744msDepăşitMemory limit exceeded.0
1844msDepăşitMemory limit exceeded.0
1944msDepăşitMemory limit exceeded.0
Punctaj total10

Ceva nu functioneaza?