Main.cpp: In function 'long long int ways(long long int)':
Main.cpp:11:49: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   11 |     if (vals[n].first == 0 || n + vals[n].first >= dp.size()) return dp[n] = 1;
      |                               ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
Main.cpp:13:46: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   13 |     for (int i = n + vals[n].first, t = 0; i < dp.size() && t < vals[n].second; i += vals[n].first, t++)
      |                                            ~~^~~~~~~~~~~