Borderou de evaluare (job #3179849)

Utilizator Manolea_Teodor_StefanManolea Teodor Stefan Manolea_Teodor_Stefan Data 4 decembrie 2023 13:06:16
Problema Cod2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:19:24: warning: array subscript has type 'char' [-Wchar-subscripts] 19 | if(cnt_apariti[ch] < 1){ | ^~ main.cpp:20:25: warning: array subscript has type 'char' [-Wchar-subscripts] 20 | cnt_apariti[ch]++; | ^~ main.cpp:24:29: warning: array subscript has type 'char' [-Wchar-subscripts] 24 | else if(cnt_apariti[ch] < 2) | ^~ main.cpp:25:29: warning: array subscript has type 'char' [-Wchar-subscripts] 25 | cnt_apariti[ch]++; | ^~ main.cpp:24:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 24 | else if(cnt_apariti[ch] < 2) | ^~ main.cpp:26:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 26 | nr_duble++, | ^~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
20ms303kbOK10
30ms303kbIncorect0
40ms303kbIncorect0
50ms303kbIncorect0
60ms303kbIncorect0
70ms303kbIncorect0
80ms303kbIncorect0
90ms303kbIncorect0
100ms303kbIncorect0
Punctaj total10

Ceva nu functioneaza?