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_34496727_30683.cpp:44:3: error: stray '\276' in program
   LL ans1=calc(tmp,i); 经典可重复组合问题,从n个数中选m个数字,可以重复,组合方案的答案是c(n+m-1,m)
   ^
0_0_34496727_30683.cpp:44:3: error: stray '\255' in program
0_0_34496727_30683.cpp:44:3: error: stray '\265' in program
0_0_34496727_30683.cpp:44:3: error: stray '\344' in program
0_0_34496727_30683.cpp:44:3: error: stray '\277' in program
0_0_34496727_30683.cpp:44:3: error: stray '\311' in program
0_0_34496727_30683.cpp:44:3: error: stray '\326' in program
0_0_34496727_30683.cpp:44:3: error: stray '\330' in program
0_0_34496727_30683.cpp:44:3: error: stray '\270' in program
0_0_34496727_30683.cpp:44:3: error: stray '\264' in program
0_0_34496727_30683.cpp:44:3: error: stray '\327' in program
0_0_34496727_30683.cpp:44:3: error: stray '\351' in program
0_0_34496727_30683.cpp:44:3: error: stray '\272' in program
0_0_34496727_30683.cpp:44:3: error: stray '\317' in program
0_0_34496727_30683.cpp:44:3: error: stray '\316' in program
0_0_34496727_30683.cpp:44:3: error: stray '\312' in program
0_0_34496727_30683.cpp:44:3: error: stray '\314' in program
0_0_34496727_30683.cpp:44:3: error: stray '\342' in program
0_0_34496727_30683.cpp:44:3: error: stray '\243' in program
0_0_34496727_30683.cpp:44:3: error: stray '\254' in program
0_0_34496727_30683.cpp:44:3: error: stray '\264' in program
0_0_34496727_30683.cpp:44:3: error: stray '\323' in program
0_0_34496727_30683.cpp:44:3: error: stray '\270' in program
0_0_34496727_30683.cpp:44:3: error: stray '\366' in program
0_0_34496727_30683.cpp:44:3: error: stray '\312' in program
0_0_34496727_30683.cpp:44:3: error: stray '\375' in program
0_0_34496727_30683.cpp:44:3: error: stray '\326' in program
0_0_34496727_30683.cpp:44:3: error: stray '\320' in program
0_0_34496727_30683.cpp:44:3: error: stray '\321' in program
0_0_34496727_30683.cpp:44:3: error: stray '\241' in program
0_0_34496727_30683.cpp:44:3: error: stray '\270' in program
0_0_34496727_30683.cpp:44:3: error: stray '\366' in program
0_0_34496727_30683.cpp:44:3: error: stray '\312' in program
0_0_34496727_30683.cpp:44:3: error: stray '\375' in program
0_0_34496727_30683.cpp:44:3: error: stray '\327' in program
0_0_34496727_30683.cpp:44:3: error: stray '\326' in program
0_0_34496727_30683.cpp:44:3: error: stray '\243' in program
0_0_34496727_30683.cpp:44:3: error: stray '\254' in program
0_0_34496727_30683.cpp:44:3: error: stray '\277' in program
0_0_34496727_30683.cpp:44:3: error: stray '\311' in program
0_0_34496727_30683.cpp:44:3: error: stray '\322' in program
0_0_34496727_30683.cpp:44:3: error: stray '\324' in program
0_0_34496727_30683.cpp:44:3: error: stray '\326' in program
0_0_34496727_30683.cpp:44:3: error: stray '\330' in program
0_0_34496727_30683.cpp:44:3: error: stray '\270' in program
0_0_34496727_30683.cpp:44:3: error: stray '\264' in program
0_0_34496727_30683.cpp:44:3: error: stray '\243' in program
0_0_34496727_30683.cpp:44:3: error: stray '\254' in program
0_0_34496727_30683.cpp:44:3: error: stray '\327' in program
0_0_34496727_30683.cpp:44:3: error: stray '\351' in program
0_0_34496727_30683.cpp:44:3: error: stray '\272' in program
0_0_34496727_30683.cpp:44:3: error: stray '\317' in program
0_0_34496727_30683.cpp:44:3: error: stray '\267' in program
0_0_34496727_30683.cpp:44:3: error: stray '\275' in program
0_0_34496727_30683.cpp:44:3: error: stray '\260' in program
0_0_34496727_30683.cpp:44:3: error: stray '\270' in program
0_0_34496727_30683.cpp:44:3: error: stray '\265' in program
0_0_34496727_30683.cpp:44:3: error: stray '\304' in program
0_0_34496727_30683.cpp:44:3: error: stray '\264' in program
0_0_34496727_30683.cpp:44:3: error: stray '\360' in program
0_0_34496727_30683.cpp:44:3: error: stray '\260' in program
0_0_34496727_30683.cpp:44:3: error: stray '\270' in program
0_0_34496727_30683.cpp:44:3: error: stray '\312' in program
0_0_34496727_30683.cpp:44:3: error: stray '\307' in program
0_0_34496727_30683.cpp: In function 'LL dfs(int, int)':
0_0_34496727_30683.cpp:44:55: error: expected ';' before 'm'
   LL ans1=calc(tmp,i); 经典可重复组合问题,从n个数中选m个数字,可以重复,组合方案的答案是c(n+m-1,m)
                                                       ^
0_0_34496727_30683.cpp:48:4: error: 'ans2' was not declared in this scope
    ans2+=dfs(n-i*mx,j);//剩下的子树还有n-i*mx结点,最大的子树结点数必须小于mx,所以j为0到mx-1
    ^
0_0_34496727_30683.cpp:50:13: error: 'ans2' was not declared in this scope
   ans+=ans1*ans2;
             ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-10 17:35:14, Gzip enabled