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_34785458_201.cpp:1:1: error: stray '\270' in program
 根据方程:Ai = (Ai-1 + Ai+1)/2 - Ci 
 ^
0_0_34785458_201.cpp:1:1: error: stray '\371' in program
0_0_34785458_201.cpp:1:1: error: stray '\276' in program
0_0_34785458_201.cpp:1:1: error: stray '\335' in program
0_0_34785458_201.cpp:1:1: error: stray '\267' in program
0_0_34785458_201.cpp:1:1: error: stray '\275' in program
0_0_34785458_201.cpp:1:1: error: stray '\263' in program
0_0_34785458_201.cpp:1:1: error: stray '\314' in program
0_0_34785458_201.cpp:1:1: error: stray '\243' in program
0_0_34785458_201.cpp:1:1: error: stray '\272' in program
0_0_34785458_201.cpp:3:1: error: stray '\277' in program
 可以写出:A1 = 1/2 * A0 + 1/2 * A2 - C1;......................1式
 ^
0_0_34785458_201.cpp:3:1: error: stray '\311' in program
0_0_34785458_201.cpp:3:1: error: stray '\322' in program
0_0_34785458_201.cpp:3:1: error: stray '\324' in program
0_0_34785458_201.cpp:3:1: error: stray '\320' in program
0_0_34785458_201.cpp:3:1: error: stray '\264' in program
0_0_34785458_201.cpp:3:1: error: stray '\263' in program
0_0_34785458_201.cpp:3:1: error: stray '\366' in program
0_0_34785458_201.cpp:3:1: error: stray '\243' in program
0_0_34785458_201.cpp:3:1: error: stray '\272' in program
0_0_34785458_201.cpp:3:1: error: stray '\243' in program
0_0_34785458_201.cpp:3:1: error: stray '\273' in program
0_0_34785458_201.cpp:3:1: error: stray '\312' in program
0_0_34785458_201.cpp:3:1: error: stray '\275' in program
0_0_34785458_201.cpp:5:5: error: stray '\243' in program
     A2 = 1/2 * A1 + 1/2 * A3 - C2; ......................2式
     ^
0_0_34785458_201.cpp:5:5: error: stray '\273' in program
0_0_34785458_201.cpp:5:5: error: stray '\312' in program
0_0_34785458_201.cpp:5:5: error: stray '\275' in program
0_0_34785458_201.cpp:7:1: error: stray '\275' in program
 将1式代入2式,得到:A2 = 1 / 3 * A0 + 2 / 3 * A3 - 2/3 * C1 - 4 / 3 * C2;....................3式
 ^
0_0_34785458_201.cpp:7:1: error: stray '\253' in program
0_0_34785458_201.cpp:7:1: error: stray '\312' in program
0_0_34785458_201.cpp:7:1: error: stray '\275' in program
0_0_34785458_201.cpp:7:1: error: stray '\264' in program
0_0_34785458_201.cpp:7:1: error: stray '\372' in program
0_0_34785458_201.cpp:7:1: error: stray '\310' in program
0_0_34785458_201.cpp:7:1: error: stray '\353' in program
0_0_34785458_201.cpp:7:1: error: stray '\312' in program
0_0_34785458_201.cpp:7:1: error: stray '\275' in program
0_0_34785458_201.cpp:7:1: error: stray '\243' in program
0_0_34785458_201.cpp:7:1: error: stray '\254' in program
0_0_34785458_201.cpp:7:1: error: stray '\265' in program
0_0_34785458_201.cpp:7:1: error: stray '\303' in program
0_0_34785458_201.cpp:7:1: error: stray '\265' in program
0_0_34785458_201.cpp:7:1: error: stray '\275' in program
0_0_34785458_201.cpp:7:1: error: stray '\243' in program
0_0_34785458_201.cpp:7:1: error: stray '\272' in program
0_0_34785458_201.cpp:7:1: error: stray '\243' in program
0_0_34785458_201.cpp:7:1: error: stray '\273' in program
0_0_34785458_201.cpp:7:1: error: stray '\312' in program
0_0_34785458_201.cpp:7:1: error: stray '\275' in program
0_0_34785458_201.cpp:9:1: error: stray '\275' in program
 将3式代入1式,得到:A1 = 2 / 3 * A0 + 1 / 3 * A3 - 4 / 3 * C1 - 2 / 3 * C2.
 ^
0_0_34785458_201.cpp:9:1: error: stray '\253' in program
0_0_34785458_201.cpp:9:1: error: stray '\312' in program
0_0_34785458_201.cpp:9:1: error: stray '\275' in program
0_0_34785458_201.cpp:9:1: error: stray '\264' in program
0_0_34785458_201.cpp:9:1: error: stray '\372' in program
0_0_34785458_201.cpp:9:1: error: stray '\310' in program
0_0_34785458_201.cpp:9:1: error: stray '\353' in program
0_0_34785458_201.cpp:9:1: error: stray '\312' in program
0_0_34785458_201.cpp:9:1: error: stray '\275' in program
0_0_34785458_201.cpp:9:1: error: stray '\243' in program
0_0_34785458_201.cpp:9:1: error: stray '\254' in program
0_0_34785458_201.cpp:9:1: error: stray '\265' in program
0_0_34785458_201.cpp:9:1: error: stray '\303' in program
0_0_34785458_201.cpp:9:1: error: stray '\265' in program
0_0_34785458_201.cpp:9:1: error: stray '\275' in program
0_0_34785458_201.cpp:9:1: error: stray '\243' in program
0_0_34785458_201.cpp:9:1: error: stray '\272' in program
0_0_34785458_201.cpp:11:1: error: stray '\322' in program
 ......以此类推:
 ^
0_0_34785458_201.cpp:11:1: error: stray '\324' in program
0_0_34785458_201.cpp:11:1: error: stray '\264' in program
0_0_34785458_201.cpp:11:1: error: stray '\313' in program
0_0_34785458_201.cpp:11:1: error: stray '\300' in program
0_0_34785458_201.cpp:11:1: error: stray '\340' in program
0_0_34785458_201.cpp:11:1: error: stray '\315' in program
0_0_34785458_201.cpp:11:1: error: stray '\306' in program
0_0_34785458_201.cpp:11:1: error: stray '\243' in program
0_0_34785458_201.cpp:11:1: error: stray '\272' in program
0_0_34785458_201.cpp:13:1: error: stray '\277' in program
 可以得到一个通式:对于An+1。  A1 = n / (n + 1) * A0 + 1 / (n + 1)* An+1 - 2*n / (n + 1)* C1 - (2*n - 2)/(n + 1)* C2 - ........2 / (n + 1)* Cn-1。
 ^
0_0_34785458_201.cpp:13:1: error: stray '\311' in program
0_0_34785458_201.cpp:13:1: error: stray '\322' in program
0_0_34785458_201.cpp:13:1: error: stray '\324' in program
0_0_34785458_201.cpp:13:1: error: stray '\265' in program
0_0_34785458_201.cpp:13:1: error: stray '\303' in program
0_0_34785458_201.cpp:13:1: error: stray '\265' in program
0_0_34785458_201.cpp:13:1: error: stray '\275' in program
0_0_34785458_201.cpp:13:1: error: stray '\322' in program
0_0_34785458_201.cpp:13:1: error: stray '\273' in program
0_0_34785458_201.cpp:13:1: error: stray '\270' in program
0_0_34785458_201.cpp:13:1: error: stray '\366' in program
0_0_34785458_201.cpp:13:1: error: stray '\315' in program
0_0_34785458_201.cpp:13:1: error: stray '\250' in program
0_0_34785458_201.cpp:13:1: error: stray '\312' in program
0_0_34785458_201.cpp:13:1: error: stray '\275' in program
0_0_34785458_201.cpp:13:1: error: stray '\243' in program
0_0_34785458_201.cpp:13:1: error: stray '\272' in program
0_0_34785458_201.cpp:13:1: error: stray '\266' in program
0_0_34785458_201.cpp:13:1: error: stray '\324' in program
0_0_34785458_201.cpp:13:1: error: stray '\323' in program
0_0_34785458_201.cpp:13:1: error: stray '\332' in program
0_0_34785458_201.cpp:13:1: error: stray '\241' in program
0_0_34785458_201.cpp:13:1: error: stray '\243' in program
0_0_34785458_201.cpp:13:1: error: stray '\243' in program
0_0_34785458_201.cpp:13:1: error: stray '\250' in program
0_0_34785458_201.cpp:13:1: error: stray '\243' in program
0_0_34785458_201.cpp:13:1: error: stray '\251' in program
0_0_34785458_201.cpp:13:1: error: stray '\243' in program
0_0_34785458_201.cpp:13:1: error: stray '\250' in program
0_0_34785458_201.cpp:13:1: error: stray '\243' in program
0_0_34785458_201.cpp:13:1: error: stray '\251' in program
0_0_34785458_201.cpp:13:1: error: stray '\243' in program
0_0_34785458_201.cpp:13:1: error: stray '\250' in program
0_0_34785458_201.cpp:13:1: error: stray '\243' in program
0_0_34785458_201.cpp:13:1: error: stray '\251' in program
0_0_34785458_201.cpp:13:1: error: stray '\243' in program
0_0_34785458_201.cpp:13:1: error: stray '\250' in program
0_0_34785458_201.cpp:13:1: error: stray '\243' in program
0_0_34785458_201.cpp:13:1: error: stray '\251' in program
0_0_34785458_201.cpp:13:1: error: stray '\243' in program
0_0_34785458_201.cpp:13:1: error: stray '\250' in program
0_0_34785458_201.cpp:13:1: error: stray '\243' in program
0_0_34785458_201.cpp:13:1: error: stray '\251' in program
0_0_34785458_201.cpp:13:1: error: stray '\243' in program
0_0_34785458_201.cpp:13:1: error: stray '\250' in program
0_0_34785458_201.cpp:13:1: error: stray '\243' in program
0_0_34785458_201.cpp:13:1: error: stray '\251' in program
0_0_34785458_201.cpp:13:1: error: stray '\241' in program
0_0_34785458_201.cpp:13:1: error: stray '\243' in program
0_0_34785458_201.cpp:1:11: error: 'Ai' does not name a type
 根据方程:Ai = (Ai-1 + Ai+1)/2 - Ci 
           ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-12-04 14:13:27, Gzip enabled