igra.cpp: In function 'bool stg()':
igra.cpp:22:13: warning: unused variable 'fa' [-Wunused-variable]
int fa = qb['a'], fb = qb['b'], fc = qb['c'];
^~
igra.cpp: In function 'void solv()':
igra.cpp:61:16: warning: array subscript has type 'char' [-Wchar-subscripts]
qa[a[i]]++;
^
igra.cpp:63:16: warning: array subscript has type 'char' [-Wchar-subscripts]
qb[b[i]]++;
^
igra.cpp:66:16: warning: array subscript has type 'char' [-Wchar-subscripts]
qb[b[i]]--;
^
igra.cpp:69:22: warning: array subscript has type 'char' [-Wchar-subscripts]
if (!qa[u] || u == b[i])
^
igra.cpp:71:19: warning: array subscript has type 'char' [-Wchar-subscripts]
--qa[u];
^
igra.cpp:77:19: warning: array subscript has type 'char' [-Wchar-subscripts]
++qa[u];
^
igra.cpp:57:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
~~~~~^~~~~~~~~~
igra.cpp:58:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf(" %s", a);
~~~~~^~~~~~~~~~
igra.cpp:59:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf(" %s", b);
~~~~~^~~~~~~~~~