Skip to content

some of level1#48

Open
jinshayumi wants to merge 1 commit intoluckymark:masterfrom
jinshayumi:patch-3
Open

some of level1#48
jinshayumi wants to merge 1 commit intoluckymark:masterfrom
jinshayumi:patch-3

Conversation

@jinshayumi
Copy link
Copy Markdown

level 1 qianmian

level 1 qianmian
Copy link
Copy Markdown
Owner

@luckymark luckymark left a comment

Choose a reason for hiding this comment

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

先看到这里吧

@@ -0,0 +1,104 @@
#include<stdio.h>
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

文件名后缀应该是.c

scanf("%d",&a);
for(i=2;i<a;i++)
{

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

多余的空行

b++;
}
if(b==a-2)
printf("a为素数");
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

缩进+大括号

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.

2 participants