Borderou de evaluare (job #2927432)

Utilizator MrPuzzleDespa Fabian Stefan MrPuzzle Data 20 octombrie 2022 15:24:59
Problema Logic Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'bool setareVar()': main.cpp:202:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 202 | for(int i=0;i<strlen(s1);i++){ ///verif var sir 1 | ~^~~~~~~~~~~ main.cpp:204:26: warning: array subscript has type 'char' [-Wchar-subscripts] 204 | if(tmpu1[s1[i]] == 0){ | ~~~~^ main.cpp:205:27: warning: array subscript has type 'char' [-Wchar-subscripts] 205 | tmpu1[s1[i]] = 1; | ~~~~^ main.cpp:211:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 211 | for(int i=0;i<strlen(s2);i++){ ///verif daca toate var dinsirul 2 sunt in sirul 1 | ~^~~~~~~~~~~ main.cpp:213:26: warning: array subscript has type 'char' [-Wchar-subscripts] 213 | if(tmpu1[s2[i]] == 0){ | ~~~~^ main.cpp:217:26: warning: array subscript has type 'char' [-Wchar-subscripts] 217 | if(tmpu2[s2[i]] == 0){ | ~~~~^ main.cpp:219:27: warning: array subscript has type 'char' [-Wchar-subscripts] 219 | tmpu2[s2[i]] = 1; | ~~~~^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbOK10
20ms184kbOK10
30ms184kbOK10
40ms184kbOK10
510ms184kbOK10
60ms184kbOK10
70ms184kbOK10
80ms184kbOK10
90ms184kbOK10
100ms184kbOK10
Punctaj total100

Ceva nu functioneaza?