运行 ID: 77586

Main.cc:1:1: error: ‘ing’ does not name a type; did you mean ‘int’?
 ing namespace std;
 ^~~
 int
Main.cc: In function ‘int main()’:
Main.cc:5:2: error: ‘cin’ was not declared in this scope
  cin>>n;
  ^~~
Main.cc:5:2: note: suggested alternative: ‘main’
  cin>>n;
  ^~~
  main
Main.cc:10:5: error: ‘sqrt’ was not declared in this scope
  t+=sqrt(x[i]*x[i]+y[i]*y[i]+0.0)*0.04+1.5*p[i];
     ^~~~
Main.cc:10:5: note: suggested alternative: ‘short’
  t+=sqrt(x[i]*x[i]+y[i]*y[i]+0.0)*0.04+1.5*p[i];
     ^~~~
     short
Main.cc:12:2: error: ‘cout’ was not declared in this scope
  cout<