0_0_33634905_17004.cpp:86:5: error: expected constructor, destructor, or type conversion before '(' token
sort(robots+1,robots+1+n);
^
0_0_33634905_17004.cpp:88:1: error: 'stk' does not name a type
stk[tail]=robots[1].pos;
^
0_0_33634905_17004.cpp:89:1: error: 'times' does not name a type
times[tail]=fenshu {0,1}; //成为领导人的时间,这里保存1/2t^2来减小误差
^
0_0_33634905_17004.cpp:90:1: error: 'va' does not name a type
va[tail]=robots[1].a;
^
0_0_33634905_17004.cpp:91:1: error: expected unqualified-id before 'for'
for (int i=2; i<=n; i++)
^
0_0_33634905_17004.cpp:91:15: error: 'i' does not name a type
for (int i=2; i<=n; i++)
^
0_0_33634905_17004.cpp:91:21: error: 'i' does not name a type
for (int i=2; i<=n; i++)
^
0_0_33634905_17004.cpp:103:1: error: expected unqualified-id before 'for'
for (int i=1; i<=tail; i++)
^
0_0_33634905_17004.cpp:103:15: error: 'i' does not name a type
for (int i=1; i<=tail; i++)
^
0_0_33634905_17004.cpp:103:24: error: 'i' does not name a type
for (int i=1; i<=tail; i++)
^
0_0_33634905_17004.cpp:107:7: error: expected constructor, destructor, or type conversion before '(' token
printf("%d\n",ans);
^
|