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_32338331_10991.cpp:1:1: error: stray '\345' in program
 当n>=5时有:ans1[n] = ans0[n] - ans0[n-1] = 28*n-20
 ^
0_0_32338331_10991.cpp:1:1: error: stray '\275' in program
0_0_32338331_10991.cpp:1:1: error: stray '\223' in program
0_0_32338331_10991.cpp:1:1: error: stray '\346' in program
0_0_32338331_10991.cpp:1:1: error: stray '\227' in program
0_0_32338331_10991.cpp:1:1: error: stray '\266' in program
0_0_32338331_10991.cpp:1:1: error: stray '\346' in program
0_0_32338331_10991.cpp:1:1: error: stray '\234' in program
0_0_32338331_10991.cpp:1:1: error: stray '\211' in program
0_0_32338331_10991.cpp:1:1: error: stray '\357' in program
0_0_32338331_10991.cpp:1:1: error: stray '\274' in program
0_0_32338331_10991.cpp:1:1: error: stray '\232' in program
0_0_32338331_10991.cpp:2:1: error: stray '\346' in program
 所以有:
 ^
0_0_32338331_10991.cpp:2:1: error: stray '\211' in program
0_0_32338331_10991.cpp:2:1: error: stray '\200' in program
0_0_32338331_10991.cpp:2:1: error: stray '\344' in program
0_0_32338331_10991.cpp:2:1: error: stray '\273' in program
0_0_32338331_10991.cpp:2:1: error: stray '\245' in program
0_0_32338331_10991.cpp:2:1: error: stray '\346' in program
0_0_32338331_10991.cpp:2:1: error: stray '\234' in program
0_0_32338331_10991.cpp:2:1: error: stray '\211' in program
0_0_32338331_10991.cpp:2:1: error: stray '\357' in program
0_0_32338331_10991.cpp:2:1: error: stray '\274' in program
0_0_32338331_10991.cpp:2:1: error: stray '\232' in program
0_0_32338331_10991.cpp:8:1: error: stray '\347' in program
 然后将上式累加可以得到:
 ^
0_0_32338331_10991.cpp:8:1: error: stray '\204' in program
0_0_32338331_10991.cpp:8:1: error: stray '\266' in program
0_0_32338331_10991.cpp:8:1: error: stray '\345' in program
0_0_32338331_10991.cpp:8:1: error: stray '\220' in program
0_0_32338331_10991.cpp:8:1: error: stray '\216' in program
0_0_32338331_10991.cpp:8:1: error: stray '\345' in program
0_0_32338331_10991.cpp:8:1: error: stray '\260' in program
0_0_32338331_10991.cpp:8:1: error: stray '\206' in program
0_0_32338331_10991.cpp:8:1: error: stray '\344' in program
0_0_32338331_10991.cpp:8:1: error: stray '\270' in program
0_0_32338331_10991.cpp:8:1: error: stray '\212' in program
0_0_32338331_10991.cpp:8:1: error: stray '\345' in program
0_0_32338331_10991.cpp:8:1: error: stray '\274' in program
0_0_32338331_10991.cpp:8:1: error: stray '\217' in program
0_0_32338331_10991.cpp:8:1: error: stray '\347' in program
0_0_32338331_10991.cpp:8:1: error: stray '\264' in program
0_0_32338331_10991.cpp:8:1: error: stray '\257' in program
0_0_32338331_10991.cpp:8:1: error: stray '\345' in program
0_0_32338331_10991.cpp:8:1: error: stray '\212' in program
0_0_32338331_10991.cpp:8:1: error: stray '\240' in program
0_0_32338331_10991.cpp:8:1: error: stray '\345' in program
0_0_32338331_10991.cpp:8:1: error: stray '\217' in program
0_0_32338331_10991.cpp:8:1: error: stray '\257' in program
0_0_32338331_10991.cpp:8:1: error: stray '\344' in program
0_0_32338331_10991.cpp:8:1: error: stray '\273' in program
0_0_32338331_10991.cpp:8:1: error: stray '\245' in program
0_0_32338331_10991.cpp:8:1: error: stray '\345' in program
0_0_32338331_10991.cpp:8:1: error: stray '\276' in program
0_0_32338331_10991.cpp:8:1: error: stray '\227' in program
0_0_32338331_10991.cpp:8:1: error: stray '\345' in program
0_0_32338331_10991.cpp:8:1: error: stray '\210' in program
0_0_32338331_10991.cpp:8:1: error: stray '\260' in program
0_0_32338331_10991.cpp:8:1: error: stray '\357' in program
0_0_32338331_10991.cpp:8:1: error: stray '\274' in program
0_0_32338331_10991.cpp:8:1: error: stray '\232' in program
0_0_32338331_10991.cpp:10:1: error: stray '\347' in program
 然后我们带入我们最开始打的表可以验证上式的正确性。然后对于小于5的特判一下就ok。
 ^
0_0_32338331_10991.cpp:10:1: error: stray '\204' in program
0_0_32338331_10991.cpp:10:1: error: stray '\266' in program
0_0_32338331_10991.cpp:10:1: error: stray '\345' in program
0_0_32338331_10991.cpp:10:1: error: stray '\220' in program
0_0_32338331_10991.cpp:10:1: error: stray '\216' in program
0_0_32338331_10991.cpp:10:1: error: stray '\346' in program
0_0_32338331_10991.cpp:10:1: error: stray '\210' in program
0_0_32338331_10991.cpp:10:1: error: stray '\221' in program
0_0_32338331_10991.cpp:10:1: error: stray '\344' in program
0_0_32338331_10991.cpp:10:1: error: stray '\273' in program
0_0_32338331_10991.cpp:10:1: error: stray '\254' in program
0_0_32338331_10991.cpp:10:1: error: stray '\345' in program
0_0_32338331_10991.cpp:10:1: error: stray '\270' in program
0_0_32338331_10991.cpp:10:1: error: stray '\246' in program
0_0_32338331_10991.cpp:10:1: error: stray '\345' in program
0_0_32338331_10991.cpp:10:1: error: stray '\205' in program
0_0_32338331_10991.cpp:10:1: error: stray '\245' in program
0_0_32338331_10991.cpp:10:1: error: stray '\346' in program
0_0_32338331_10991.cpp:10:1: error: stray '\210' in program
0_0_32338331_10991.cpp:10:1: error: stray '\221' in program
0_0_32338331_10991.cpp:10:1: error: stray '\344' in program
0_0_32338331_10991.cpp:10:1: error: stray '\273' in program
0_0_32338331_10991.cpp:10:1: error: stray '\254' in program
0_0_32338331_10991.cpp:10:1: error: stray '\346' in program
0_0_32338331_10991.cpp:10:1: error: stray '\234' in program
0_0_32338331_10991.cpp:10:1: error: stray '\200' in program
0_0_32338331_10991.cpp:10:1: error: stray '\345' in program
0_0_32338331_10991.cpp:10:1: error: stray '\274' in program
0_0_32338331_10991.cpp:10:1: error: stray '\200' in program
0_0_32338331_10991.cpp:10:1: error: stray '\345' in program
0_0_32338331_10991.cpp:10:1: error: stray '\247' in program
0_0_32338331_10991.cpp:10:1: error: stray '\213' in program
0_0_32338331_10991.cpp:10:1: error: stray '\346' in program
0_0_32338331_10991.cpp:10:1: error: stray '\211' in program
0_0_32338331_10991.cpp:10:1: error: stray '\223' in program
0_0_32338331_10991.cpp:10:1: error: stray '\347' in program
0_0_32338331_10991.cpp:10:1: error: stray '\232' in program
0_0_32338331_10991.cpp:10:1: error: stray '\204' in program
0_0_32338331_10991.cpp:10:1: error: stray '\350' in program
0_0_32338331_10991.cpp:10:1: error: stray '\241' in program
0_0_32338331_10991.cpp:10:1: error: stray '\250' in program
0_0_32338331_10991.cpp:10:1: error: stray '\345' in program
0_0_32338331_10991.cpp:10:1: error: stray '\217' in program
0_0_32338331_10991.cpp:10:1: error: stray '\257' in program
0_0_32338331_10991.cpp:10:1: error: stray '\344' in program
0_0_32338331_10991.cpp:10:1: error: stray '\273' in program
0_0_32338331_10991.cpp:10:1: error: stray '\245' in program
0_0_32338331_10991.cpp:10:1: error: stray '\351' in program
0_0_32338331_10991.cpp:10:1: error: stray '\252' in program
0_0_32338331_10991.cpp:10:1: error: stray '\214' in program
0_0_32338331_10991.cpp:10:1: error: stray '\350' in program
0_0_32338331_10991.cpp:10:1: error: stray '\257' in program
0_0_32338331_10991.cpp:10:1: error: stray '\201' in program
0_0_32338331_10991.cpp:10:1: error: stray '\344' in program
0_0_32338331_10991.cpp:10:1: error: stray '\270' in program
0_0_32338331_10991.cpp:10:1: error: stray '\212' in program
0_0_32338331_10991.cpp:10:1: error: stray '\345' in program
0_0_32338331_10991.cpp:10:1: error: stray '\274' in program
0_0_32338331_10991.cpp:10:1: error: stray '\217' in program
0_0_32338331_10991.cpp:10:1: error: stray '\347' in program
0_0_32338331_10991.cpp:10:1: error: stray '\232' in program
0_0_32338331_10991.cpp:10:1: error: stray '\204' in program
0_0_32338331_10991.cpp:10:1: error: stray '\346' in program
0_0_32338331_10991.cpp:10:1: error: stray '\255' in program
0_0_32338331_10991.cpp:10:1: error: stray '\243' in program
0_0_32338331_10991.cpp:10:1: error: stray '\347' in program
0_0_32338331_10991.cpp:10:1: error: stray '\241' in program
0_0_32338331_10991.cpp:10:1: error: stray '\256' in program
0_0_32338331_10991.cpp:10:1: error: stray '\346' in program
0_0_32338331_10991.cpp:10:1: error: stray '\200' in program
0_0_32338331_10991.cpp:10:1: error: stray '\247' in program
0_0_32338331_10991.cpp:10:1: error: stray '\343' in program
0_0_32338331_10991.cpp:10:1: error: stray '\200' in program
0_0_32338331_10991.cpp:10:1: error: stray '\202' in program
0_0_32338331_10991.cpp:10:1: error: stray '\347' in program
0_0_32338331_10991.cpp:10:1: error: stray '\204' in program
0_0_32338331_10991.cpp:10:1: error: stray '\266' in program
0_0_32338331_10991.cpp:10:1: error: stray '\345' in program
0_0_32338331_10991.cpp:10:1: error: stray '\220' in program
0_0_32338331_10991.cpp:10:1: error: stray '\216' in program
0_0_32338331_10991.cpp:10:1: error: stray '\345' in program
0_0_32338331_10991.cpp:10:1: error: stray '\257' in program
0_0_32338331_10991.cpp:10:1: error: stray '\271' in program
0_0_32338331_10991.cpp:10:1: error: stray '\344' in program
0_0_32338331_10991.cpp:10:1: error: str


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-11-26 04:36:49, Gzip enabled