Borderou de evaluare (job #1432965)

Utilizator Grozea_Cosmin_Marcel_325CBCosmin Marcel Grozea Grozea_Cosmin_Marcel_325CB Data 9 mai 2015 14:35:47
Problema Play With Strings Status done
Runda test_practic_pa_2 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main(int, const char**)’: user.cpp:29:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int index = 0; index < strlen(buffer1); index++) { ^ user.cpp:30:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] solution1[buffer1[index]] += 1; ^ user.cpp:54:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int index = 0; index < strlen(buffer1); index++) { ^ user.cpp:55:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] solution1[buffer1[index]] += 1; ^ user.cpp:58:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int index = 0; index < strlen(buffer2); index++) { ^ user.cpp:59:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] solution2[buffer2[index]] += 1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
148ms432kbIncorect0
276ms428kbIncorect0
328ms428kbIncorect0
40ms420kbIncorect0
536ms432kbIncorect0
6116ms428kbIncorect0
7100ms432kbIncorect0
8100ms424kbIncorect0
980ms428kbIncorect0
1072ms428kbIncorect0
Punctaj total0

Ceva nu functioneaza?