fireworks.cpp: In function 'int main()':
fireworks.cpp:42:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < dp.size(); i++) for(int j = 0; j < dp[i].size(); j++) dp[i][j] = 1LL << 60;
~~^~~~~~~~~~~
fireworks.cpp:42:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < dp.size(); i++) for(int j = 0; j < dp[i].size(); j++) dp[i][j] = 1LL << 60;
~~^~~~~~~~~~~~~~
fireworks.cpp: In lambda function:
fireworks.cpp:50:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < dp[v].size(); i++) {
~~^~~~~~~~~~~~~~
fireworks.cpp:54:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < dp[e.first].size(); j++) {
~~^~~~~~~~~~~~~~~~~~~~
fireworks.cpp: In function 'int main()':
fireworks.cpp:17:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int n, m; scanf("%d%d", &n, &m);
~~~~~^~~~~~~~~~~~~~~~
fireworks.cpp:21:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int a; i64 b; scanf("%d%lld", &a, &b);
~~~~~^~~~~~~~~~~~~~~~~~