Borderou de evaluare (job #2171257)

Utilizator TeoMiliMilitaru Teodora TeoMili Data 15 martie 2018 11:43:27
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:18:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] a[i][s[i]]=1; ^ user.cpp:21:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] a[n+1][s[i]]++; ^ user.cpp:29:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] b[i][s1[i]]=1; ^ user.cpp:32: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
14ms4772kbCorect10
24ms4856kbIncorect0
38ms4912kbIncorect0
412ms4964kbIncorect0
5Depăşit7900kbTime limit exceeded.0
6Depăşit10552kbTime limit exceeded.0
7Depăşit10540kbTime limit exceeded.0
8Depăşit12400kbTime limit exceeded.0
964ms7824kbIncorect0
1092ms8308kbIncorect0
1156ms7664kbIncorect0
1284ms8112kbIncorect0
13Depăşit24916kbTime limit exceeded.0
14Depăşit39116kbTime limit exceeded.0
1592msDepăş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?