题解列表
2790: 分段函数
摘要:解题思路:注意事项:参考代码:import sysx = float(input())if x < 0 or x >= 20: sys.exit()elif x < 5: print(&#……
C语言 最小绝对值&
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>#define LONG 10int main(){ int nums[LONG] ……
二维数组右上左下遍历
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,n,i,j,k; scanf("%d %d",&m,&n); int a[m][n……
题解: 数字三角形【Python】
摘要:解题思路:动态规划参考代码:N = int(input())
dp = []
for i in range(N):
row = list(map(int, input().split()……
题解: 公交汽车【Python】
摘要:解题思路:动态规划。参考代码:cost = list(map(int, input().split()))
n = int(input())
dp = [0 for i in range(n)]
……