foo.cpp: In function 'int main()':
foo.cpp:5:13: error: 'LONG_LONG_MAX' was not declared in this scope
#define INF LONG_LONG_MAX/2+1
^
foo.cpp:86:35: note: in expansion of macro 'INF'
for (int i=1;i<=n;++i) d[i] = INF;
^
foo.cpp:5:13: error: 'LONG_LONG_MAX' was not declared in this scope
#define INF LONG_LONG_MAX/2+1
^
foo.cpp:88:21: note: in expansion of macro 'INF'
if (d[i] == INF)
^
foo.cpp:5:13: error: 'LONG_LONG_MAX' was not declared in this scope
#define INF LONG_LONG_MAX/2+1
^
foo.cpp:94:35: note: in expansion of macro 'INF'
for (int i=1;i<=n;++i) d[i] = INF;
^
foo.cpp:5:13: error: 'LONG_LONG_MAX' was not declared in this scope
#define INF LONG_LONG_MAX/2+1
^
foo.cpp:97:21: note: in expansion of macro 'INF'
if (d[i] != INF) printf("%lld\n", d[i]);
^
foo.cpp:97:47: warning: unknown conversion type character 'l' in format [-Wformat=]
if (d[i] != INF) printf("%lld\n", d[i]);
^
foo.cpp:97:47: warning: too many arguments for format [-Wformat-extra-args]