diff --git "a/2209040042/chapter1/\344\270\244\346\225\260\344\271\213\345\222\214.c" "b/2209040042/chapter1/\344\270\244\346\225\260\344\271\213\345\222\214.c" new file mode 100644 index 0000000000000000000000000000000000000000..e68ff10fe92917b0f4c0ac91b2df9e7f371c1085 --- /dev/null +++ "b/2209040042/chapter1/\344\270\244\346\225\260\344\271\213\345\222\214.c" @@ -0,0 +1,18 @@ +int* twoSum(int* nums, int numsSize, int target, int* returnSize){ + int i,j; + *returnSize=2; + int *a=(int*)malloc(sizeof(int)*2); + for(i=0;i