css.cpp: In function 'void cl(std::string, int)':
css.cpp:26:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | while(x<c.length()){
| ~^~~~~~~~~~~
css.cpp:25:9: warning: unused variable 'buf' [-Wunused-variable]
25 | int buf,x=0,y;vector<int>res;
| ^~~
css.cpp: In function 'int main()':
css.cpp:78:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
78 | for(auto &i: ans)printf(" %s",name[i].c_str());puts("");
| ^~~
css.cpp:78:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
78 | for(auto &i: ans)printf(" %s",name[i].c_str());puts("");
| ^~~~
css.cpp:39:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
39 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
css.cpp:41:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
41 | scanf("%s",buf);
| ~~~~~^~~~~~~~~~
css.cpp:44:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
44 | scanf("%s",buf);sscanf(buf,"id='%[^']'",tmp);
| ~~~~~^~~~~~~~~~
css.cpp:47:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
47 | scanf(" class='%[^ ']",tmp);cls[nw].insert(fd(tmp));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~
css.cpp:53:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
53 | scanf("%*[^\n]\n");
| ~~~~~^~~~~~~~~~~~~
css.cpp:60:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
60 | scanf("%d",&m);
| ~~~~~^~~~~~~~~
css.cpp:62:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
62 | scanf("%s",tmp);int num=0;cl(tmp,++num);
| ~~~~~^~~~~~~~~~
css.cpp:65:44: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
65 | if(tmp[0]=='>')lnk[num]=1,scanf("%s",tmp);
| ~~~~~^~~~~~~~~~
css.cpp:68:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
68 | scanf("%*[^\n]\n"),mtot=num;
| ~~~~~^~~~~~~~~~~~~