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_24263777_12613.c: In function 'q':
0_0_24263777_12613.c:16:19: error: expected declaration specifiers before '/' token
 int q(int n,int m)//n表示需要划分的数字,m表示最大的家数不超过m
                   ^
0_0_24263777_12613.c:16:19: error: stray '\261' in program
0_0_24263777_12613.c:16:19: error: stray '\355' in program
0_0_24263777_12613.c:16:19: error: stray '\312' in program
0_0_24263777_12613.c:16:19: error: stray '\276' in program
0_0_24263777_12613.c:16:19: error: stray '\320' in program
0_0_24263777_12613.c:16:19: error: stray '\350' in program
0_0_24263777_12613.c:16:19: error: stray '\322' in program
0_0_24263777_12613.c:16:19: error: stray '\252' in program
0_0_24263777_12613.c:16:19: error: stray '\273' in program
0_0_24263777_12613.c:16:19: error: stray '\256' in program
0_0_24263777_12613.c:16:19: error: stray '\267' in program
0_0_24263777_12613.c:16:19: error: stray '\326' in program
0_0_24263777_12613.c:16:19: error: stray '\265' in program
0_0_24263777_12613.c:16:19: error: stray '\304' in program
0_0_24263777_12613.c:16:19: error: stray '\312' in program
0_0_24263777_12613.c:16:19: error: stray '\375' in program
0_0_24263777_12613.c:16:19: error: stray '\327' in program
0_0_24263777_12613.c:16:19: error: stray '\326' in program
0_0_24263777_12613.c:16:19: error: stray '\243' in program
0_0_24263777_12613.c:16:19: error: stray '\254' in program
0_0_24263777_12613.c:16:19: error: stray '\261' in program
0_0_24263777_12613.c:16:19: error: stray '\355' in program
0_0_24263777_12613.c:16:19: error: stray '\312' in program
0_0_24263777_12613.c:16:19: error: stray '\276' in program
0_0_24263777_12613.c:16:19: error: stray '\327' in program
0_0_24263777_12613.c:16:19: error: stray '\356' in program
0_0_24263777_12613.c:16:19: error: stray '\264' in program
0_0_24263777_12613.c:16:19: error: stray '\363' in program
0_0_24263777_12613.c:16:19: error: stray '\265' in program
0_0_24263777_12613.c:16:19: error: stray '\304' in program
0_0_24263777_12613.c:16:19: error: stray '\274' in program
0_0_24263777_12613.c:16:19: error: stray '\322' in program
0_0_24263777_12613.c:16:19: error: stray '\312' in program
0_0_24263777_12613.c:16:19: error: stray '\375' in program
0_0_24263777_12613.c:16:19: error: stray '\262' in program
0_0_24263777_12613.c:16:19: error: stray '\273' in program
0_0_24263777_12613.c:16:19: error: stray '\263' in program
0_0_24263777_12613.c:16:19: error: stray '\254' in program
0_0_24263777_12613.c:16:19: error: stray '\271' in program
0_0_24263777_12613.c:16:19: error: stray '\375' in program
0_0_24263777_12613.c:18:5: error: stray '\326' in program
     if(m==1||n==1)//只要存在一个为1,那么划分的方法数肯定只有一种,那就是n个1相加
     ^
0_0_24263777_12613.c:18:5: error: stray '\273' in program
0_0_24263777_12613.c:18:5: error: stray '\322' in program
0_0_24263777_12613.c:18:5: error: stray '\252' in program
0_0_24263777_12613.c:18:5: error: stray '\264' in program
0_0_24263777_12613.c:18:5: error: stray '\346' in program
0_0_24263777_12613.c:18:5: error: stray '\324' in program
0_0_24263777_12613.c:18:5: error: stray '\332' in program
0_0_24263777_12613.c:18:5: error: stray '\322' in program
0_0_24263777_12613.c:18:5: error: stray '\273' in program
0_0_24263777_12613.c:18:5: error: stray '\270' in program
0_0_24263777_12613.c:18:5: error: stray '\366' in program
0_0_24263777_12613.c:18:5: error: stray '\316' in program
0_0_24263777_12613.c:18:5: error: stray '\252' in program
0_0_24263777_12613.c:18:5: error: stray '\243' in program
0_0_24263777_12613.c:18:5: error: stray '\254' in program
0_0_24263777_12613.c:18:5: error: stray '\304' in program
0_0_24263777_12613.c:18:5: error: stray '\307' in program
0_0_24263777_12613.c:18:5: error: stray '\303' in program
0_0_24263777_12613.c:18:5: error: stray '\264' in program
0_0_24263777_12613.c:18:5: error: stray '\273' in program
0_0_24263777_12613.c:18:5: error: stray '\256' in program
0_0_24263777_12613.c:18:5: error: stray '\267' in program
0_0_24263777_12613.c:18:5: error: stray '\326' in program
0_0_24263777_12613.c:18:5: error: stray '\265' in program
0_0_24263777_12613.c:18:5: error: stray '\304' in program
0_0_24263777_12613.c:18:5: error: stray '\267' in program
0_0_24263777_12613.c:18:5: error: stray '\275' in program
0_0_24263777_12613.c:18:5: error: stray '\267' in program
0_0_24263777_12613.c:18:5: error: stray '\250' in program
0_0_24263777_12613.c:18:5: error: stray '\312' in program
0_0_24263777_12613.c:18:5: error: stray '\375' in program
0_0_24263777_12613.c:18:5: error: stray '\277' in program
0_0_24263777_12613.c:18:5: error: stray '\317' in program
0_0_24263777_12613.c:18:5: error: stray '\266' in program
0_0_24263777_12613.c:18:5: error: stray '\250' in program
0_0_24263777_12613.c:18:5: error: stray '\326' in program
0_0_24263777_12613.c:18:5: error: stray '\273' in program
0_0_24263777_12613.c:18:5: error: stray '\323' in program
0_0_24263777_12613.c:18:5: error: stray '\320' in program
0_0_24263777_12613.c:18:5: error: stray '\322' in program
0_0_24263777_12613.c:18:5: error: stray '\273' in program
0_0_24263777_12613.c:18:5: error: stray '\326' in program
0_0_24263777_12613.c:18:5: error: stray '\326' in program
0_0_24263777_12613.c:18:5: error: stray '\243' in program
0_0_24263777_12613.c:18:5: error: stray '\254' in program
0_0_24263777_12613.c:18:5: error: stray '\304' in program
0_0_24263777_12613.c:18:5: error: stray '\307' in program
0_0_24263777_12613.c:18:5: error: stray '\276' in program
0_0_24263777_12613.c:18:5: error: stray '\315' in program
0_0_24263777_12613.c:18:5: error: stray '\312' in program
0_0_24263777_12613.c:18:5: error: stray '\307' in program
0_0_24263777_12613.c:18:5: error: stray '\270' in program
0_0_24263777_12613.c:18:5: error: stray '\366' in program
0_0_24263777_12613.c:18:5: error: stray '\317' in program
0_0_24263777_12613.c:18:5: error: stray '\340' in program
0_0_24263777_12613.c:18:5: error: stray '\274' in program
0_0_24263777_12613.c:18:5: error: stray '\323' in program
0_0_24263777_12613.c:21:5: error: stray '\266' in program
     }else if(n==m&&n>1)//二者相等且大于1的时候,问题等价于:q(n,n-1)+1;意味着将最大加数减一之后n的划分数,然后加一,最后面那个一代表的是:0+n,这个划分的方案
     ^
0_0_24263777_12613.c:21:5: error: stray '\376' in program
0_0_24263777_12613.c:21:5: error: stray '\325' in program
0_0_24263777_12613.c:21:5: error: stray '\337' in program
0_0_24263777_12613.c:21:5: error: stray '\317' in program
0_0_24263777_12613.c:21:5: error: stray '\340' in program
0_0_24263777_12613.c:21:5: error: stray '\265' in program
0_0_24263777_12613.c:21:5: error: stray '\310' in program
0_0_24263777_12613.c:21:5: error: stray '\307' in program
0_0_24263777_12613.c:21:5: error: stray '\322' in program
0_0_24263777_12613.c:21:5: error: stray '\264' in program
0_0_24263777_12613.c:21:5: error: stray '\363' in program
0_0_24263777_12613.c:21:5: error: stray '\323' in program
0_0_24263777_12613.c:21:5: error: stray '\332' in program
0_0_24263777_12613.c:21:5: error: stray '\265' in program
0_0_24263777_12613.c:21:5: error: stray '\304' in program
0_0_24263777_12613.c:21:5: error: stray '\312' in program
0_0_24263777_12613.c:21:5: error: stray '\261' in program
0_0_24263777_12613.c:21:5: error: stray '\272' in program
0_0_24263777_12613.c:21:5: error: stray '\362' in program
0_0_24263777_12613.c:21:5: error: stray '\243' in program
0_0_24263777_12613.c:21:5: error: stray '\254' in program
0_0_24263777_12613.c:21:5: error: stray '\316' in program
0_0_24263777_12613.c:21:5: error: stray '\312' in program
0_0_24263777_12613.c:21:5: error: stray '\314' in program
0_0_24263777_12613.c:21:5: error: stray '\342' in program
0_0_24263777_12613.c:21:5: error: stray '\265' in program
0_0_24263777_12613.c:21:5: error: stray '\310' in program
0_0_24263777_12613.c:21:5: error: stray '\274' in program
0_0_24263777_12613.c:21:5: error: stray '\333' in program
0_0_24263777_12613.c:21:5: error: stray '\323' in program
0_0_24263777_12613.c:21:5: error: stray '\332' in program
0_0_24263777_12613.c:21:5: error: stray '\243' in program
0_0_24263777_12613.c:21:5: error: stray '\272' in program
0_0_24263777_12613.c:21:5: error: stray '\322' in program
0_0_24263777_12613.c:21:5: error: stray '\342' in program
0_0_24263777_12613.c:21:5: error: stray '\316' in program
0_0_24263777_12613.c:21:5: error: stray '\266' in program
0_0_24263777_12613.c:21:5: error: stray '\327' in program
0_0_24263777_12613.c:21:5: error: stray '\305' in program
0_0_24263777_12613.c:21:5: error: stray '\275' in program
0_0_24263777_12613.c:21:5: error: stray '\253' in program
0_0_24263777_12613.c:21:5: error: stray '\327' in program
0_0_24263777_12613.c:21:5: error: stray '\356' in program
0_0_24263777_12613.c:21:5: error: stray '\264' in program
0_0_24263777_12613.c:21:5: error: stray '\363' in program
0_0_24263777_12613.c:21:5: error: stray '\274' in progr


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-17 00:31:39, Gzip enabled