shortcut.cpp: In function 'long long int dp(long long int, long long int)':
shortcut.cpp:14:26: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
14 | for(long long i = 0 ; i < g[pos].size() ; i++){
| ~~^~~~~~~~~~~~~~~
shortcut.cpp: In function 'long long int find_shortcut(long long int, std::vector<long long int>, std::vector<long long int>, long long int)':
shortcut.cpp:35:12: warning: unused variable 'nodostotales' [-Wunused-variable]
35 | long long nodostotales=n, minimo=LLONG_MAX/3;
| ^~~~~~~~~~~~
/tmp/ccdbXzrf.o: In function `main':
grader.cpp:(.text.startup+0x10d): undefined reference to `find_shortcut(int, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, int)'
collect2: error: ld returned 1 exit status