foo.cpp: In function 'int main()':
foo.cpp:12:21: warning: unknown conversion type character 'l' in format [-Wformat=]
printf("%lld\n",f[m]);
^
foo.cpp:12:21: warning: too many arguments for format [-Wformat-extra-args]
foo.cpp:25:16: error: expected ')' before 's'
g[i]=(g[i]+f[j]s[j][i])%7777777;
^
foo.cpp:34:19: error: expected ')' before 's'
temp=(temp+s[i][k]s[k][j])%7777777;
^
foo.cpp:40:21: warning: unknown conversion type character 'l' in format [-Wformat=]
printf("%lld\n",f[n]);
^
foo.cpp:40:21: warning: too many arguments for format [-Wformat-extra-args]