Skip to content
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

Closed
wants to merge 2 commits into from
Closed

算法2-12实现 #9

wants to merge 2 commits into from

Conversation

luyj
Copy link
Contributor

@luyj luyj commented Mar 21, 2017

No description provided.

2.12.cpp Outdated
srand(time(0));
n1 = rand()%10+ 1;
n2 = rand()%10+ 1;
printf("�����������\n%d,%d\n",n1-1,n2-1 );//����ȣ�
Copy link
Collaborator

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 &);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

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;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

建议使用vs自动格式化代码

Copy link
Collaborator

@cucyoyo cucyoyo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

请给出运行结果截图

Copy link
Contributor

@c4pr1c3 c4pr1c3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

截图文件请不要使用bmp格式,请使用png或jpg格式的图片文件格式。

@cucyoyo cucyoyo closed this Apr 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants