-
Notifications
You must be signed in to change notification settings - Fork 78
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
原杨锴♂2018081303017 #29
base: master
Are you sure you want to change the base?
Conversation
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.
进度要加快了啊
#include<stdio.h> | ||
#include<stdlib.h> | ||
#include<windows.h> | ||
#define length 117 |
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.
常量一般全大写
system("cls"); | ||
|
||
if(a==0) | ||
flag=0; |
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.
缩进不对
已收到,谢谢老师!
发送自 Windows 10 版邮件应用
发件人: Mark Feng
发送时间: 2019年3月20日 15:51
收件人: luckymark/c2019
抄送: GhostNoir; Author
主题: Re: [luckymark/c2019] 原杨锴♂2018081303017 (#29)
@luckymark commented on this pull request.
进度要加快了啊
In level1/p01_runningLetter/runningLetter.c:
@@ -0,0 +1,30 @@
+#include<stdio.h>
+#include<stdlib.h>
+#include<windows.h>
+#define length 117
常量一般全大写
In level1/p01_runningLetter/runningLetter.c:
+#define length 117
+int main()
+{
+ int flag=0,a=0;
+
+ while(1)
+ {
+ for(int i=a;i>0;--i)
+ printf(" ");
+
+ printf("Van");
+ Sleep(70);
+ system("cls");
+
+ if(a==0)
+ flag=0;
缩进不对
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
{ | ||
int x=age/6+age/12+age/7+5+age/2+4; | ||
if(x==age) | ||
printf("%d",x-4); |
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.
缩进不对,加大括号
level1/p04_ narcissus/narcissus.c
Outdated
for(int i=0;i<max;++i) | ||
all+=(int)pow((int)(x/pow(10,i))%10,max); | ||
if(x==all) | ||
printf("%d ",x); |
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.
缩进
level1/p05_allPrimes/allPrimes.c
Outdated
for(int i=0;i<999;++i)//��ÿ�������������1������� | ||
{ | ||
if(1==num[i]) | ||
printf("%d\n",i+2); |
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.
缩进+大括号
学号 2018081303017