0_0_26139778_9606.cpp:15:9: error: stray '\262' in program
if(p==q) rate=1.0*N/(M+N); M,N不一定等于0.5
^
0_0_26139778_9606.cpp:15:9: error: stray '\273' in program
0_0_26139778_9606.cpp:15:9: error: stray '\322' in program
0_0_26139778_9606.cpp:15:9: error: stray '\273' in program
0_0_26139778_9606.cpp:15:9: error: stray '\266' in program
0_0_26139778_9606.cpp:15:9: error: stray '\250' in program
0_0_26139778_9606.cpp:15:9: error: stray '\265' in program
0_0_26139778_9606.cpp:15:9: error: stray '\310' in program
0_0_26139778_9606.cpp:15:9: error: stray '\323' in program
0_0_26139778_9606.cpp:15:9: error: stray '\332' in program
0_0_26139778_9606.cpp:19:13: error: stray '\241' in program
rate = (1.0-pow(k,N))/(1.0-pow(k,M+N)); 【幂运算】
^
0_0_26139778_9606.cpp:19:13: error: stray '\276' in program
0_0_26139778_9606.cpp:19:13: error: stray '\303' in program
0_0_26139778_9606.cpp:19:13: error: stray '\335' in program
0_0_26139778_9606.cpp:19:13: error: stray '\324' in program
0_0_26139778_9606.cpp:19:13: error: stray '\313' in program
0_0_26139778_9606.cpp:19:13: error: stray '\313' in program
0_0_26139778_9606.cpp:19:13: error: stray '\343' in program
0_0_26139778_9606.cpp:19:13: error: stray '\241' in program
0_0_26139778_9606.cpp:19:13: error: stray '\277' in program
0_0_26139778_9606.cpp:21:9: error: stray '\241' in program
cout<<fixed<<setprecision(2)<<rate<<endl; 【设置浮点数输出的有效数字位数】
^
0_0_26139778_9606.cpp:21:9: error: stray '\276' in program
0_0_26139778_9606.cpp:21:9: error: stray '\311' in program
0_0_26139778_9606.cpp:21:9: error: stray '\350' in program
0_0_26139778_9606.cpp:21:9: error: stray '\326' in program
0_0_26139778_9606.cpp:21:9: error: stray '\303' in program
0_0_26139778_9606.cpp:21:9: error: stray '\270' in program
0_0_26139778_9606.cpp:21:9: error: stray '\241' in program
0_0_26139778_9606.cpp:21:9: error: stray '\265' in program
0_0_26139778_9606.cpp:21:9: error: stray '\343' in program
0_0_26139778_9606.cpp:21:9: error: stray '\312' in program
0_0_26139778_9606.cpp:21:9: error: stray '\375' in program
0_0_26139778_9606.cpp:21:9: error: stray '\312' in program
0_0_26139778_9606.cpp:21:9: error: stray '\344' in program
0_0_26139778_9606.cpp:21:9: error: stray '\263' in program
0_0_26139778_9606.cpp:21:9: error: stray '\366' in program
0_0_26139778_9606.cpp:21:9: error: stray '\265' in program
0_0_26139778_9606.cpp:21:9: error: stray '\304' in program
0_0_26139778_9606.cpp:21:9: error: stray '\323' in program
0_0_26139778_9606.cpp:21:9: error: stray '\320' in program
0_0_26139778_9606.cpp:21:9: error: stray '\320' in program
0_0_26139778_9606.cpp:21:9: error: stray '\247' in program
0_0_26139778_9606.cpp:21:9: error: stray '\312' in program
0_0_26139778_9606.cpp:21:9: error: stray '\375' in program
0_0_26139778_9606.cpp:21:9: error: stray '\327' in program
0_0_26139778_9606.cpp:21:9: error: stray '\326' in program
0_0_26139778_9606.cpp:21:9: error: stray '\316' in program
0_0_26139778_9606.cpp:21:9: error: stray '\273' in program
0_0_26139778_9606.cpp:21:9: error: stray '\312' in program
0_0_26139778_9606.cpp:21:9: error: stray '\375' in program
0_0_26139778_9606.cpp:21:9: error: stray '\241' in program
0_0_26139778_9606.cpp:21:9: error: stray '\277' in program
0_0_26139778_9606.cpp: In function 'int main()':
0_0_26139778_9606.cpp:15:51: error: expected ';' before numeric constant
if(p==q) rate=1.0*N/(M+N); M,N不一定等于0.5
^
|