css.cpp: In function 'docline read_docline()':
css.cpp:50:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=3; i+1<l.size(); i++) ret.classes.push_back(l[i]);
^
css.cpp: In function 'std::vector<int> parse_brj(std::__cxx11::string)':
css.cpp:89:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<s.size(); ){
^
css.cpp:91:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(nxt < s.size() && s[nxt] != '.') nxt++;
^
css.cpp:101:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<v.size(); ){
^
css.cpp:103:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(e < v.size() && v[e] == v[i]) e++;
^
css.cpp: In function 'std::vector<int> query(std::vector<std::__cxx11::basic_string<char> >&)':
css.cpp:112:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1; i<s.size(); i++){
^
css.cpp: In function 'int main()':
css.cpp:146:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d ", ret.size());
^
css.cpp: In function 'std::vector<std::__cxx11::basic_string<char> > readline_split()':
css.cpp:9:25: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(buf, 5005, stdin);
^
css.cpp: In function 'int main()':
css.cpp:139:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
css.cpp:142:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^