fireworks.cpp: In function 'void dfs(int, int)':
fireworks.cpp:17:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<edge[now].size(); i++){
~^~~~~~~~~~~~~~~~~
fireworks.cpp: In function 'long long int my_binary_search(int, long long int, long long int, long long int)':
fireworks.cpp:36:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<chi[now].size(); i++){
~^~~~~~~~~~~~~~~~
fireworks.cpp: In function 'long long int func(int, long long int)':
fireworks.cpp:48:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<chi[now].size(); i++){
~^~~~~~~~~~~~~~~~
fireworks.cpp: In function 'long long int sanbun(int)':
fireworks.cpp:58:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<chi[now].size(); i++) r = max(r, b[chi[now][i].first]);
~^~~~~~~~~~~~~~~~
fireworks.cpp: In function 'int main()':
fireworks.cpp:97:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<chi[now].size(); j++){
~^~~~~~~~~~~~~~~~
fireworks.cpp:104:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<chi[now].size(); j++){
~^~~~~~~~~~~~~~~~
fireworks.cpp:70:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
~~~~~^~~~~~~~~~~~~~~~
fireworks.cpp:74:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lld", &P, &C);
~~~~~^~~~~~~~~~~~~~~~~~