/in/foo.cc: In function 'int main()':
/in/foo.cc:47:41: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%I64d",&t);
^
/in/foo.cc:69:37: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%I64d\n",ans);
^
/in/foo.cc: At global scope:
/in/foo.cc:73:9: error: expected unqualified-id before 'for'
for(int i=1;i<=m;i++) {
^~~
/in/foo.cc:73:21: error: 'i' does not name a type
for(int i=1;i<=m;i++) {
^
/in/foo.cc:73:26: error: 'i' does not name a type
for(int i=1;i<=m;i++) {
^
/in/foo.cc:85:9: error: expected unqualified-id before 'for'
for (int i=1;i<=n;i++)
^~~
/in/foo.cc:85:22: error: 'i' does not name a type
for (int i=1;i<=n;i++)
^
/in/foo.cc:85:27: error: 'i' does not name a type
for (int i=1;i<=n;i++)
^
/in/foo.cc:87:15: error: expected constructor, destructor, or type conversion before '(' token
printf("%I64d\n",ans);
^
/in/foo.cc:88:5: error: expected declaration before '}' token
}
^