/in/foo.cc: In function 'void floyd(int (*)[110], int)':
/in/foo.cc:14:35: warning: 'sizeof' on array function parameter 'dist' will return size of 'int (*)[110]' [-Wsizeof-array-argument]
memset(dist, 0x3f, sizeof(dist));
^
/in/foo.cc:12:33: note: declared here
void floyd(int dist[MAX_N][MAX_N], int pt)
^
/in/foo.cc:14:30: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(dist, 0x3f, sizeof(dist));
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:49:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d", ans);
^