F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_25043284_8907.cpp:1:1: error: stray '\301' in program
 链接:https://www.nowcoder.com/questionTerminal/2303311c2b1b440bb0c2b518b3297d78
 ^
0_0_25043284_8907.cpp:1:1: error: stray '\264' in program
0_0_25043284_8907.cpp:1:1: error: stray '\275' in program
0_0_25043284_8907.cpp:1:1: error: stray '\323' in program
0_0_25043284_8907.cpp:1:1: error: stray '\243' in program
0_0_25043284_8907.cpp:1:1: error: stray '\272' in program
0_0_25043284_8907.cpp:2:1: error: stray '\300' in program
 来源:牛客网
 ^
0_0_25043284_8907.cpp:2:1: error: stray '\264' in program
0_0_25043284_8907.cpp:2:1: error: stray '\324' in program
0_0_25043284_8907.cpp:2:1: error: stray '\264' in program
0_0_25043284_8907.cpp:2:1: error: stray '\243' in program
0_0_25043284_8907.cpp:2:1: error: stray '\272' in program
0_0_25043284_8907.cpp:2:1: error: stray '\305' in program
0_0_25043284_8907.cpp:2:1: error: stray '\243' in program
0_0_25043284_8907.cpp:2:1: error: stray '\277' in program
0_0_25043284_8907.cpp:2:1: error: stray '\315' in program
0_0_25043284_8907.cpp:2:1: error: stray '\315' in program
0_0_25043284_8907.cpp:2:1: error: stray '\370' in program
0_0_25043284_8907.cpp:18:2: error: stray '#' in program
  double ang;
  ^
0_0_25043284_8907.cpp:19:2: error: stray '#' in program
  int id,L,f;
  ^
0_0_25043284_8907.cpp:20:2: error: stray '#' in program
  bool operator<(const Eve &b)const
  ^
0_0_25043284_8907.cpp:21:2: error: stray '#' in program
  {
  ^
0_0_25043284_8907.cpp:22:2: error: stray '#' in program
  if(fabs(ang-b.ang)>eps)return ang<b.ang;
  ^
0_0_25043284_8907.cpp:23:2: error: stray '#' in program
  return f>b.f;
  ^
0_0_25043284_8907.cpp:24:2: error: stray '#' in program
  }
  ^
0_0_25043284_8907.cpp:28:2: error: stray '#' in program
  if(x==fa[x])return x;
  ^
0_0_25043284_8907.cpp:29:2: error: stray '#' in program
  return fa[x]=find(fa[x]);
  ^
0_0_25043284_8907.cpp:33:2: error: stray '#' in program
  fa[find(i)]=find(j);
  ^
0_0_25043284_8907.cpp:37:2: error: stray '#' in program
  while(~scanf("%d%d",&n,&m))
  ^
0_0_25043284_8907.cpp:38:2: error: stray '#' in program
  {
  ^
0_0_25043284_8907.cpp:39:2: error: stray '#' in program
  for(int i=0;i<n;i++){scanf("%d%d",x+i,y+i);fa[i]=i;}
  ^
0_0_25043284_8907.cpp:40:2: error: stray '#' in program
  for(int i=0;i<m;i++)scanf("%d%d%d",cx+i,cy+i,r+i);
  ^
0_0_25043284_8907.cpp:41:2: error: stray '#' in program
  if(m==0){puts("0");continue;}
  ^
0_0_25043284_8907.cpp:42:2: error: stray '#' in program
  for(int i=0;i<n;i++)
  ^
0_0_25043284_8907.cpp:43:2: error: stray '#' in program
  {
  ^
0_0_25043284_8907.cpp:44:2: error: stray '#' in program
  int t=0;
  ^
0_0_25043284_8907.cpp:45:2: error: stray '#' in program
  for(int j=i+1;j<n;j++)
  ^
0_0_25043284_8907.cpp:46:2: error: stray '#' in program
  {
  ^
0_0_25043284_8907.cpp:47:2: error: stray '#' in program
  p[t].ang=atan2((double)(y[j]-y[i]),(double)(x[j]-x[i]));
  ^
0_0_25043284_8907.cpp:48:2: error: stray '#' in program
  if(p[t].ang<-eps)p[t].ang+=pi*2;
  ^
0_0_25043284_8907.cpp:49:2: error: stray '#' in program
  p[t].id=j;
  ^
0_0_25043284_8907.cpp:50:2: error: stray '#' in program
  p[t].L=(x[j]-x[i])*(x[j]-x[i])+(y[j]-y[i])*(y[j]-y[i]);
  ^
0_0_25043284_8907.cpp:51:2: error: stray '#' in program
  p[t++].f=0;
  ^
0_0_25043284_8907.cpp:52:2: error: stray '#' in program
  }
  ^
0_0_25043284_8907.cpp:53:2: error: stray '#' in program
  for(int j=0;j<m;j++)
  ^
0_0_25043284_8907.cpp:54:2: error: stray '#' in program
  {
  ^
0_0_25043284_8907.cpp:55:2: error: stray '#' in program
  double th=atan2((double)(cy[j]-y[i]),(double)(cx[j]-x[i]));
  ^
0_0_25043284_8907.cpp:56:2: error: stray '#' in program
  int d=(cx[j]-x[i])*(cx[j]-x[i])+(cy[j]-y[i])*(cy[j]-y[i]);
  ^
0_0_25043284_8907.cpp:57:2: error: stray '#' in program
  double dt=asin((double)r[j]/sqrt((double)d));
  ^
0_0_25043284_8907.cpp:58:2: error: stray '#' in program
  int ds=d-r[j]*r[j];
  ^
0_0_25043284_8907.cpp:59:2: error: stray '#' in program
  double u=th-dt,v=th+dt;
  ^
0_0_25043284_8907.cpp:60:2: error: stray '#' in program
  if(u<0)u+=pi*2,v+=pi*2;
  ^
0_0_25043284_8907.cpp:61:2: error: stray '#' in program
  if(v<pi*2+eps)
  ^
0_0_25043284_8907.cpp:62:2: error: stray '#' in program
  {
  ^
0_0_25043284_8907.cpp:63:2: error: stray '#' in program
  p[t].L=ds;
  ^
0_0_25043284_8907.cpp:64:2: error: stray '#' in program
  p[t].ang=u;
  ^
0_0_25043284_8907.cpp:65:2: error: stray '#' in program
  p[t++].f=1;
  ^
0_0_25043284_8907.cpp:66:2: error: stray '#' in program
  p[t].L=ds;
  ^
0_0_25043284_8907.cpp:67:2: error: stray '#' in program
  p[t].ang=v;
  ^
0_0_25043284_8907.cpp:68:2: error: stray '#' in program
  p[t++].f=-1;
  ^
0_0_25043284_8907.cpp:69:2: error: stray '#' in program
  }
  ^
0_0_25043284_8907.cpp:70:2: error: stray '#' in program
  else
  ^
0_0_25043284_8907.cpp:71:2: error: stray '#' in program
  {
  ^
0_0_25043284_8907.cpp:72:2: error: stray '#' in program
  p[t].L=ds;
  ^
0_0_25043284_8907.cpp:73:2: error: stray '#' in program
  p[t].ang=u;
  ^
0_0_25043284_8907.cpp:74:2: error: stray '#' in program
  p[t++].f=1;
  ^
0_0_25043284_8907.cpp:75:2: error: stray '#' in program
  p[t].L=ds;
  ^
0_0_25043284_8907.cpp:76:2: error: stray '#' in program
  p[t].ang=pi*2;
  ^
0_0_25043284_8907.cpp:77:2: error: stray '#' in program
  p[t++].f=-1;
  ^
0_0_25043284_8907.cpp:78:2: error: stray '#' in program
  
  ^
0_0_25043284_8907.cpp:79:2: error: stray '#' in program
  p[t].L=ds;
  ^
0_0_25043284_8907.cpp:80:2: error: stray '#' in program
  p[t].ang=0;
  ^
0_0_25043284_8907.cpp:81:2: error: stray '#' in program
  p[t++].f=1;
  ^
0_0_25043284_8907.cpp:82:2: error: stray '#' in program
  p[t].L=ds;
  ^
0_0_25043284_8907.cpp:83:2: error: stray '#' in program
  p[t].ang=v-pi*2;
  ^
0_0_25043284_8907.cpp:84:2: error: stray '#' in program
  p[t++].f=-1;
  ^
0_0_25043284_8907.cpp:85:2: error: stray '#' in program
  }
  ^
0_0_25043284_8907.cpp:86:2: error: stray '#' in program
  }
  ^
0_0_25043284_8907.cpp:87:2: error: stray '#' in program
  sort(p,p+t);
  ^
0_0_25043284_8907.cpp:88:2: error: stray '#' in program
  s.clear();
  ^
0_0_25043284_8907.cpp:89:2: error: stray '#' in program
  for(int j=0,tot=0;j<t;j++)
  ^
0_0_25043284_8907.cpp:90:2: error: stray '#' in program
  {
  ^
0_0_25043284_8907.cpp:91:2: error: stray '#' in program
  if(p[j].f==0)
  ^
0_0_25043284_8907.cpp:92:2: error: stray '#' in program
  {
  ^
0_0_25043284_8907.cpp:93:2: error: stray '#' in program
  if(tot==0)U(i,p[j].id);
  ^
0_0_25043284_8907.cpp:94:2: error: stray '#' in program
  else
  ^
0_0_25043284_8907.cpp:95:2: error: stray '#' in program
  {
  ^
0_0_25043284_8907.cpp:96:2: error: stray '#' in program
  it=s.begin();
  ^
0_0_25043284_8907.cpp:97:2: error: stray '#' in program
  if(it->first>p[j].L)U(i,p[j].id);
  ^
0_0_25043284_8907.cpp:98:2: error: stray '#' in program
  }
  ^
0_0_25043284_8907.cpp:99:2: error: stray '#' in program
  }
  ^
0_0_25043284_8907.cpp:100:2: error: stray '#' in program
  else if(p[j].f==1)
  ^
0_0_25043284_8907.cpp:101:2: error: stray '#' in program
  {
  ^
0_0_25043284_8907.cpp:102:2: error: stray '#' in program
  s[p[j].L]++;
  ^
0_0_25043284_8907.cpp:103:2: error: stray '#' in program
  ++tot;
  ^
0_0_25043284_8907.cpp:104:2: error: stray '#' in program
  }
  ^
0_0_25043284_8907.cpp:105:2: error: stray '#' in program
  else
  ^
0_0_25043284_8907.cpp:106:2: error: stray '#' in program
  {
  ^
0_0_25043284_8907.cpp:107:2: error: stray '#' in program
  s[p[j].L]--;
  ^
0_0_25043284_8907.cpp:108:2: error: stray '#' in program
  if(s[p[j].L]==0)s.erase(p[j].L);
  ^
0_0_25043284_8907.cpp:109:2: error: stray '#' in program
  --tot;
  ^
0_0_25043284_8907.cpp:110:2: error: stray '#' in program
  }
  ^
0_0_25043284_8907.cpp:111:2: error: stray '#' in program
  }
  ^
0_0_25043284_8907.cpp:112:2: error: stray '#' in program
  }
  ^
0_0_25043284_8907.cpp:113:2: error: stray '#' in program
  int cnt=0;
  ^
0_0_25043284_8907.cpp:114:2: error: stray '#' in program
  for(int i=0;i<n;i++)if(find(i)==i)++cnt;
  ^
0_0_25043284_8907.cpp:115:2: error: stray '#' in program
  printf("%d\n",--cnt);
  ^
0_0_25043284_8907.cpp:116:2: error: stray '#' in program
  }
  ^
0_0_25043284_8907.cpp:1:7: error: 'https' does not name a type
 链接:https://www.nowcoder.com/questionTerminal/2303311c2b1b440bb0c2b518b3297d78
       ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:43:0,
                 from 0_0_25043284_8907.cpp:6:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/type_traits.h:160:35: error: '__gnu_cxx::__is_null_pointer' declared as an 'inline' variable


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-27 21:32:35, Gzip enabled