Borderou de evaluare (job #2927425)

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

Raport evaluator

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

Ceva nu functioneaza?