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

yutao #49

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

yutao #49

wants to merge 4 commits into from

Conversation

erlscript
Copy link

level1 1~5, 1 (runningLetter) still have faults to be found.

Copy link
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.

先看到这里吧

usleep(2000000);
system("clear");
}
for (location = location-1; location >=1; location--){
Copy link
Owner

Choose a reason for hiding this comment

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

闻到了重复的味道,请消除之

printf(" ");
}
putchar('A');
usleep(2000000);
Copy link
Owner

Choose a reason for hiding this comment

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

定义常量

printf("\nThe primes are:\n%-7d",2);
for (i=3; i<1000; i=i+2){
for (j=3; j<=(int)sqrt(i); j=j+2)
if (i%j == 0) break;
Copy link
Owner

Choose a reason for hiding this comment

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

加大括号

}
}
if (i > sqrt(num))
printf("\nIt's a prime.\n");
Copy link
Owner

Choose a reason for hiding this comment

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

大括号

tens = i/10 %10;
hundreds = i/100;
if (ones*ones*ones + tens*tens*tens + hundreds*hundreds*hundreds == i)
printf("%7d\n",i);
Copy link
Owner

Choose a reason for hiding this comment

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

大括号

@erlscript erlscript changed the title 愚蠢的我终于找到pull入口 yutao May 5, 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.

2 participants