0_0_17927428_25329.cpp:115:1: error: stray '\351' in program
<p><span style="font-size:18px">题目链接:<a href="http://acm.hdu.edu.cn/showproblem.php?pid=1754">http://acm.hdu.edu.cn/showproblem.php?pid=1754</a></span></p>
^
0_0_17927428_25329.cpp:115:1: error: stray '\242' in program
0_0_17927428_25329.cpp:115:1: error: stray '\230' in program
0_0_17927428_25329.cpp:115:1: error: stray '\347' in program
0_0_17927428_25329.cpp:115:1: error: stray '\233' in program
0_0_17927428_25329.cpp:115:1: error: stray '\256' in program
0_0_17927428_25329.cpp:115:1: error: stray '\351' in program
0_0_17927428_25329.cpp:115:1: error: stray '\223' in program
0_0_17927428_25329.cpp:115:1: error: stray '\276' in program
0_0_17927428_25329.cpp:115:1: error: stray '\346' in program
0_0_17927428_25329.cpp:115:1: error: stray '\216' in program
0_0_17927428_25329.cpp:115:1: error: stray '\245' in program
0_0_17927428_25329.cpp:115:1: error: stray '\357' in program
0_0_17927428_25329.cpp:115:1: error: stray '\274' in program
0_0_17927428_25329.cpp:115:1: error: stray '\232' in program
0_0_17927428_25329.cpp:113:1: error: expected unqualified-id before '<' token
</pre><span style="font-size:18px"><br>
^
0_0_17927428_25329.cpp:130:3: error: 'p' does not name a type
} p[M];
^
0_0_17927428_25329.cpp: In function 'void init(int, int, int)':
0_0_17927428_25329.cpp:135:6: error: redefinition of 'void init(int, int, int)'
void init(int a,int b,int n)
^
0_0_17927428_25329.cpp:13:6: note: 'void init(int, int, int)' previously defined here
void init(int a,int b,int n)
^
0_0_17927428_25329.cpp:140:10: error: 'struct node' has no member named 'score'
p[n].score = -999;
^
0_0_17927428_25329.cpp: In function 'void update(int, int, int)':
0_0_17927428_25329.cpp:150:21: error: 'struct node' has no member named 'score'
if(value > p[n].score)
^
0_0_17927428_25329.cpp:151:14: error: 'struct node' has no member named 'score'
p[n].score = value; //把pos所在位置都更新了,第一次肯定在[1,n]。。。然后,看在左还是右。。。
^
0_0_17927428_25329.cpp: In function 'int query(int, int, int)':
0_0_17927428_25329.cpp:163:5: error: redefinition of 'int query(int, int, int)'
int query(int a,int b,int n)
^
0_0_17927428_25329.cpp:51:5: note: 'int query(int, int, int)' previously defined here
int query(int a,int b,int n)
^
0_0_17927428_25329.cpp:166:21: error: 'struct node' has no member named 'score'
return p[n].score;
^
0_0_17927428_25329.cpp: In function 'int main()':
0_0_17927428_25329.cpp:177:5: error: redefinition of 'int main()'
int main()
^
0_0_17927428_25329.cpp:69:5: note: 'int main()' previously defined here
int main()
^
|