题解列表

筛选

三角形 (C语言代码)

摘要:解题思路:从倒数第三行最后往前算,记住每一次当前行和下一行可加的数的和,取最大后就可以。注意事项:参考代码:#include <stdio.h>#include <math.h>int max(int……

交换Easy (C语言代码)

摘要:#include <stdio.h> int main(void) { int n, m, x, y, i, t; int a[1000]; scanf("%d%d", &n, &m)……

WU-蛇行矩阵 (C++代码)

摘要:解题思路:注意先搞清楚矩阵的规律再写代码参考代码:#include<iostream> using namespace std; int a[105][105]; int main() { ……