dna.cpp: In function 'int main()':
dna.cpp:29:25: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
29 | if (v[i].size() < b[i])
| ~~~~~~~~~~~~^~~~~~
dna.cpp:44:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | if (!(j[a[i - 1]] < v[a[i - 1]].size()))
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
dna.cpp:13:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | scanf("%d%d%d", &n, &k, &r);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~
dna.cpp:15:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | scanf("%d", &a[i]);
| ~~~~~^~~~~~~~~~~~~
dna.cpp:19:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | scanf("%d%d", &x, &y);
| ~~~~~^~~~~~~~~~~~~~~~