Borderou de evaluare (job #3004292)

Utilizator peterg33Peter Gal peterg33 Data 16 martie 2023 11:18:28
Problema Tastatură defectă Status done
Runda arhiva-utcn Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int process(char*, char*, int, int)': main.cpp:26:33: warning: array subscript has type 'char' [-Wchar-subscripts] 26 | if(!already[s1[k]] && s1[k] < 127 && s1[k] > 32){ | ~~~~^ main.cpp:27:33: warning: array subscript has type 'char' [-Wchar-subscripts] 27 | already[s1[k]] = true; | ~~~~^ main.cpp:33:28: warning: array subscript has type 'char' [-Wchar-subscripts] 33 | if(already[s1[k]] && s1[k] < 127 && s1[k] > 32){ | ~~~~^ main.cpp: In function 'void in()': main.cpp:49:13: warning: 'i' is used uninitialized [-Wuninitialized] 49 | while(i != '*'){ | ~~^~~~~~ main.cpp:47:9: note: 'i' was declared here 47 | int i; | ^ main.cpp:51:9: warning: 'secondLine' may be used uninitialized [-Wmaybe-uninitialized] 51 | if(secondLine){ | ^~ main.cpp:48:10: note: 'secondLine' was declared here 48 | bool secondLine; | ^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
Punctaj total0

Ceva nu functioneaza?