mirror of
https://github.com/tursom/prime_numbers_c.git
synced 2024-12-21 20:30:30 +08:00
修复bug
This commit is contained in:
parent
439deb8744
commit
d3b6a6ecb4
12
.editorconfig
Normal file
12
.editorconfig
Normal file
@ -0,0 +1,12 @@
|
||||
# top-most EditorCOnfig file
|
||||
root = true
|
||||
|
||||
# all files
|
||||
[*]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
|
||||
# kotlin source file
|
||||
[*.kt]
|
||||
indent_style = tab
|
||||
indent_size = 2
|
4
main.c
Normal file → Executable file
4
main.c
Normal file → Executable file
@ -27,7 +27,7 @@
|
||||
* 返回值为计算出了多少个质数
|
||||
*/
|
||||
unsigned int getPrimeNumbers(
|
||||
unsigned int maxnum,
|
||||
unsigned int maxnum,
|
||||
unsigned int *buff,
|
||||
unsigned int buffsize) {
|
||||
//放入初始值
|
||||
@ -157,4 +157,4 @@ int main(int argc, char *argv[]) {
|
||||
printf("%u numbers\n", numbers);
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user