foo.cc:61:1: error: stray '\343' in program
】
^
foo.cc:61:2: error: stray '\200' in program
】
^
foo.cc:61:3: error: stray '\221' in program
】
^
foo.cc: In function 'int main()':
foo.cc:20:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(b>80)
^~
foo.cc:22:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if(k>=1)
^~
foo.cc:24:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(m=='Y'&&b>80)
^~
foo.cc:26:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if(n=='Y')
^~
foo.cc:33:19: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(m=='Y'&&b>80)
^~
foo.cc:35:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if(n=='Y')
^~
foo.cc:5:21: warning: unused variable 's' [-Wunused-variable]
int N,M,a,b,i,j,k,s,sum;
^
foo.cc:9:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
~~~~~^~~~~~~~~
foo.cc:14:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&M);
~~~~~^~~~~~~~~
foo.cc:17:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s %d%d %c %c %d",str,&a,&b,&m,&n,&k);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务