preokret.cpp: In function 'int main()':
preokret.cpp:14:19: error: 'scoreB' was not declared in this scope
14 | if(t2[i]) scoreB++;
| ^~~~~~
preokret.cpp:15:16: error: 'scoreB' was not declared in this scope
15 | ans=s1+scoreB;
| ^~~~~~
preokret.cpp:19:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
19 | if(s1>scoreB)
| ^~
preokret.cpp:22:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
22 | winner='A';
| ^~~~~~
preokret.cpp:24:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
24 | if(s1<scoreB)
| ^~
preokret.cpp:27:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
27 | winner='B';
| ^~~~~~
preokret.cpp:10:14: warning: unused variable 's2' [-Wunused-variable]
10 | int s1=0,s2=0,exceed=0,ans=0;
| ^~