/in/foo.c:2:6: warning: return type of 'main' is not 'int' [-Wmain]
void main()
^~~~
/in/foo.c: In function 'main':
/in/foo.c:6:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
scanf("%d",n);
^
/in/foo.c:10:8: warning: integer constant is too large for its type
if(m%166798809782010000000000==0)
^~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:4:8: warning: unused variable 'j' [-Wunused-variable]
int i,j,sum=0;
^
/in/foo.c:6:2: warning: 'n' is used uninitialized in this function [-Wuninitialized]
scanf("%d",n);
^~~~~~~~~~~~~