foo.cpp: In function 'void gjdprint(LL*)':
foo.cpp:36:26: warning: unknown conversion type character 'l' in format [-Wformat=]
printf("%lld",a[a[0]]);
^
foo.cpp:36:26: warning: too many arguments for format [-Wformat-extra-args]
foo.cpp:38:29: warning: unknown conversion type character 'l' in format [-Wformat=]
printf("%07lld",a[i]);
^
foo.cpp:38:29: warning: too many arguments for format [-Wformat-extra-args]
foo.cpp: In function 'void work()':
foo.cpp:137:9: warning: unused variable 'i' [-Wunused-variable]
int i,j,l,r,mid;
^
foo.cpp: In function 'int main()':
foo.cpp:172:9: warning: unused variable 'i' [-Wunused-variable]
int i,j;
^
foo.cpp:172:11: warning: unused variable 'j' [-Wunused-variable]
int i,j;
^
foo.cpp: At global scope:
foo.cpp:220:1: error: expected unqualified-id before '?' token
?????
^