Viruses.cpp: In function 'int main()':
Viruses.cpp:24:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | for(j=0;j<v[i].size();j++)
| ~^~~~~~~~~~~~
Viruses.cpp:28:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | for(a=0;a<A[k].size();a++)
| ~^~~~~~~~~~~~
Viruses.cpp:7:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
7 | for(scanf("%d %d %d", &g, &n, &m);i++<n;)
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
Viruses.cpp:9:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
9 | scanf("%d %d", &a, &k);
| ~~~~~^~~~~~~~~~~~~~~~~
Viruses.cpp:13:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
13 | scanf("%d", &b);
| ~~~~~^~~~~~~~~~