-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
算法2-12实现 #9
算法2-12实现 #9
Conversation
2.12.cpp
Outdated
srand(time(0)); | ||
n1 = rand()%10+ 1; | ||
n2 = rand()%10+ 1; | ||
printf("�����������\n%d,%d\n",n1-1,n2-1 );//����ȣ� |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- n1\n2为什么在生成的时候加一这里又要减一?
void MergeList_L(LinkList &, LinkList &, LinkList &); | ||
void Order_L(LinkList&L); | ||
|
||
void output(LinkList &); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的,我改好了重交一遍,谢谢~
int i; | ||
srand(time(0)); | ||
n1 = rand()%10+ 1; | ||
n2 = rand()%10+ 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
建议使用vs自动格式化代码
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
请给出运行结果截图
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
截图文件请不要使用bmp格式,请使用png或jpg格式的图片文件格式。
No description provided.