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
|
2
main.c
Normal file → Executable file
2
main.c
Normal file → Executable file
@ -27,7 +27,7 @@
|
|||||||
* 返回值为计算出了多少个质数
|
* 返回值为计算出了多少个质数
|
||||||
*/
|
*/
|
||||||
unsigned int getPrimeNumbers(
|
unsigned int getPrimeNumbers(
|
||||||
unsigned int maxnum,
|
unsigned int maxnum,
|
||||||
unsigned int *buff,
|
unsigned int *buff,
|
||||||
unsigned int buffsize) {
|
unsigned int buffsize) {
|
||||||
//放入初始值
|
//放入初始值
|
||||||
|
Loading…
Reference in New Issue
Block a user