shortcut.cpp: In function 'int naj(int)':
shortcut.cpp:13:15: warning: overflow in conversion from 'long long int' to 'int' changes value from '1000000000000000' to '-1530494976' [-Woverflow]
13 | #define llinf 1000000000000000LL
| ^~~~~~~~~~~~~~~~~~
shortcut.cpp:22:39: note: in expansion of macro 'llinf'
22 | for(ll i = 0;i<=tsz;i++) dis[i] = llinf;
| ^~~~~
shortcut.cpp: At global scope:
shortcut.cpp:44:4: error: ambiguating new declaration of 'int find_shortcut(int, std::vector<int>, std::vector<int>, int)'
44 | ll find_shortcut(int N, vector<int> L, vector<int> D, int C)
| ^~~~~~~~~~~~~
In file included from shortcut.cpp:1:
shortcut.h:4:11: note: old declaration 'long long int find_shortcut(int, std::vector<int>, std::vector<int>, int)'
4 | long long find_shortcut(int n, std::vector <int> l, std::vector <int> d, int c);
| ^~~~~~~~~~~~~
shortcut.cpp: In function 'int find_shortcut(int, std::vector<int>, std::vector<int>, int)':
shortcut.cpp:13:15: warning: overflow in conversion from 'long long int' to 'int' changes value from '1000000000000000' to '-1530494976' [-Woverflow]
13 | #define llinf 1000000000000000LL
| ^~~~~~~~~~~~~~~~~~
shortcut.cpp:57:14: note: in expansion of macro 'llinf'
57 | ll ans = llinf;
| ^~~~~