Skip to content

yutao#49

Open
erlscript wants to merge 4 commits intoluckymark:masterfrom
erlscript:YuTao
Open

yutao#49
erlscript wants to merge 4 commits intoluckymark:masterfrom
erlscript:YuTao

Conversation

@erlscript
Copy link
Copy Markdown

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

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.

先看到这里吧

usleep(2000000);
system("clear");
}
for (location = location-1; location >=1; location--){
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.

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

printf(" ");
}
putchar('A');
usleep(2000000);
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.

定义常量

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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