int* twoSum(int* nums, int numsSize, int target) {
int *ar;ar=(int *)malloc(2*sizeof(int));
ar[0]=0;
ar[1]=0;
for(int i=0;numsSize-1;i++)
for(int j=i+1;j<numsSize;j++)
{
if(nums[i]+nums[j]==target)
{
ar[0]=i;
ar[1]=j;
return ar;
}
}
return ar;
}
int* twoSum(int* nums, int numsSize, int target) {
int *ar;