题解列表
编写题解 1571: 蓝桥杯算法提高VIP-输出正反三角形
摘要:解题思路:注意事项:参考代码:m,n = map(int,input().split())
xing1 =list(range(1,2*m,2))
xing2 = xing1[:]
xing2.……
回文数(二) (C语言) 简单易懂
摘要: #include
#include
#include
#define N 100
void char_to_short(char str[],short……
1709: 数据结构-Floyd(弗洛伊德)最短路径算法-C语言
摘要:```c
//Floyd最短路径算法
#include
#include
#define max 51
#define Dmax 100000 //模拟无限,则无法直接到达的路径
……
输出九九乘法表--编写题解 1570
摘要:print(" Nine-by-nine Multiplication Table")
print("--------------------------------------")
print……
2046: 输出全排列 (dfs)(java代码)
摘要:注意事项: 因为是按字典排序输出,所以就用深搜了。 参考代码:import java.util.Scanner;
public class Mian{
static int n;
……
c语言巧妙解答(小白)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int v1,v2,t,s,l,T=0,a=1,flag=0,i; double lu1=0,lu2=0; sc……
递归不熟练,所以用了这个本方法解决
摘要:import java.awt.List;
import java.util.ArrayList;
import java.util.Scanner;
public class 汽水瓶子 {……