摘要:
两指针相加减 #include <stdio.h> #include <stdlib.h> void update(int *a,int *b) { *a = *a + *b; *b = abs(*a -(2**b)); // Complete this function } int main() 阅读全文
摘要:
数列中取最大值 分段比较 int max_of_four(int a, int b, int c, int d) { int max = 0; int max1 = 0; int temp; if(b>a) max = b; else max = a; if (c>d) max1 = c; else 阅读全文