museum.cpp: In function 'void dfs(int, int, int)':
museum.cpp:22:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int a=0;a<dp1[node].size();a++){
~^~~~~~~~~~~~~~~~~
museum.cpp:23:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int b=0;b<dp1[child].size();b++){
~^~~~~~~~~~~~~~~~~~
museum.cpp:32:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int a=0;a<dp1[node].size();a++){
~^~~~~~~~~~~~~~~~~
museum.cpp:33:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int b=0;b<dp1[child].size();b++){
~^~~~~~~~~~~~~~~~~~
museum.cpp: In function 'int main()':
museum.cpp:57:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&N,&K,&X);
~~~~~^~~~~~~~~~~~~~~~~~~~~
museum.cpp:61:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&A,&B,&C);
~~~~~^~~~~~~~~~~~~~~~~~~~~