Borderou de evaluare (job #2195191)

Utilizator mihai50000Mihai-Cristian Popescu mihai50000 Data 15 aprilie 2018 16:07:46
Problema Texttrim Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( int i = 0; i < strlen(a); i++ ) ~~^~~~~~~~~~~ user.cpp:22:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] sum = sum + l[a[i]]; ^ user.cpp:29:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] while( w >= l[a[i]] && i < strlen(a) ) ^ user.cpp:29:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while( w >= l[a[i]] && i < strlen(a) ) ~~^~~~~~~~~~~ user.cpp:32:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] w = w - l[a[i]]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms1384kbOK100
20ms1384kbOK10
30ms1380kbOK10
40ms1384kbOK10
54ms1412kbOK10
64ms1580kbOK10
78ms2360kbOK10
8Depăşit2360kbTime limit exceeded.0
9112ms2356kbOK10
10Depăşit2356kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?