coreputer.cpp: In function 'std::vector<int> malfunctioning_cores(int)':
coreputer.cpp:24:9: warning: unused variable 'state' [-Wunused-variable]
24 | int state = abs(half);
| ^~~~~
coreputer.cpp:37:9: warning: unused variable 'fourth' [-Wunused-variable]
37 | int fourth = run_diagnostic(cut(N,vector<int>(larger.begin(), larger.begin()+4)));
| ^~~~~~
coreputer.cpp:38:9: warning: unused variable 'eight' [-Wunused-variable]
38 | int eight;
| ^~~~~
coreputer.cpp:39:9: warning: unused variable 'onesix' [-Wunused-variable]
39 | int onesix;
| ^~~~~~
coreputer.cpp:45:10: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized]
45 | b[pos-1] = 1;
| ~~~^~