diff --git a/README.md b/README.md index 57d9e57..27a0a30 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +~~~c #include #define max(x,y)((x)>(y)?(x):(y)) #define MAXN 20 //最多物品数 @@ -43,7 +44,9 @@ int main() { printf("\n"); printf("总价值=%d", maxv); } -*** +~~~ + +~~~c #include int fib(int n){ if(n<=2){ @@ -62,7 +65,9 @@ int main(){ } return 0; } -*** +~~~ + +~~~c #include typedef struct{ int number; @@ -101,7 +106,9 @@ int main(){ printf("众数为:%d,重数为:%d",result.number,result.count); return 0; } -*** +~~~ + +~~~c #include #include #define max(a,b)((a)>(b)?(a):(b)) @@ -148,4 +155,5 @@ int main(){ free(root->right); free(root); return 0; -} \ No newline at end of file +} +~~~ \ No newline at end of file