Pagini recente » Borderou de evaluare (job #921999) | Borderou de evaluare (job #1153337) | Borderou de evaluare (job #1102310) | Borderou de evaluare (job #2258315) | Borderou de evaluare (job #3004292)
Borderou de evaluare (job #3004292)
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 |
1 | 0ms | 303kb | Incorect | 0 |
Punctaj total | 0 |