foo.cpp: In function 'void Init()':
foo.cpp:19:27: warning: unknown conversion type character 'l' in format [-Wformat=]
scanf("%d%d%lld",&n,&m,&S);
^
foo.cpp:19:27: warning: too many arguments for format [-Wformat-extra-args]
foo.cpp: In function 'void slove()':
foo.cpp:5:19: warning: left shift count >= width of type [enabled by default]
#define INF 1<<64-1
^
foo.cpp:28:6: note: in expansion of macro 'INF'
ans=INF;
^
foo.cpp:5:14: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
#define INF 1<<64-1
^
foo.cpp:28:6: note: in expansion of macro 'INF'
ans=INF;
^
foo.cpp:49:21: warning: unknown conversion type character 'l' in format [-Wformat=]
printf("%lld\n",ans);
^
foo.cpp:49:21: warning: too many arguments for format [-Wformat-extra-args]
foo.cpp: In function 'int main()':
foo.cpp:53:7: error: 'init' was not declared in this scope
init();
^