//感觉代码思路没有错,但是结果不对 //题目:给定一个整型数组,返回两个数的下标,满足两个数相加为一个特定整数。假定只有一个正确答案 //例如:nums = [2, 7, 11, 15], target = 9,因为nums[0] + nums[1] = 2 + 7 = 9,返回[0,1] //我的代码如下: #include <stdio.h> #include <string.h> int main() { int a[2]={0}; int nums[]={2,7,11,15}; int target=9; int i,j; int...