/in/foo.cc: In function 'void dts::tr_dfs1(int, int)':
/in/foo.cc:31:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<tr[now].s.size();i++)
~^~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'void dts::tr_dfs2(int, int)':
/in/foo.cc:52:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<tr[now].s.size();i++)
~^~~~~~~~~~~~~~~~~
/in/foo.cc: In member function 'void dts::segtree::update(int&, int, int, int, int)':
/in/foo.cc:99:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (now==-1||now+1>st.size())
~~~~~^~~~~~~~~~
/in/foo.cc: In member function 'int dts::segtree::ask(int, int, int)':
/in/foo.cc:143:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (now==-1||now+1>st.size())
~~~~~^~~~~~~~~~
/in/foo.cc: In function 'void dts::main()':
/in/foo.cc:208:32: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%lld%lld",&s[i],&t[i]);
^
/in/foo.cc:208:32: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int*' [-Wformat=]