/in/foo.cc: In function 'long long int read()':
/in/foo.cc:8:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(ch>='0'&&ch<='9')x=x*10+ch-'0',ch=getchar(); return x;
^~~~~
/in/foo.cc:8:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
while(ch>='0'&&ch<='9')x=x*10+ch-'0',ch=getchar(); return x;
^~~~~~
/in/foo.cc: In function 'void getsa()':
/in/foo.cc:37:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n",sum[n]);
~~~~~~^