foo.cc:2:20: error: stray '\357' in program
using namespace std;
^
foo.cc:2:21: error: stray '\274' in program
using namespace std;
^
foo.cc:2:22: error: stray '\233' in program
using namespace std;
^
foo.cc:12:6: error: stray '\342' in program
scanf("%ld",&m[k]);
^
foo.cc:12:7: error: stray '\200' in program
scanf("%ld",&m[k]);
^
foo.cc:12:8: error: stray '\205' in program
scanf("%ld",&m[k]);
^
foo.cc:3:1: error: expected ';' before 'void'
void main()
^~~~
foo.cc:3:11: error: '::main' must return 'int'
void main()
^
foo.cc: In function 'int main()':
foo.cc:8:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
~~~~~^~~~~~~~~
foo.cc:12:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&m[k]);
~~~~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务