题解列表

筛选

龟兔赛跑预测。

摘要:解题思路:注意事项:参考代码:int main(){    int v1,v2,s,t,l;    scanf("%d%d%d%d%d",&v1,&v2,&t,&s,&l);    int s1=0,……

1604: 蓝桥杯算法训练VIP-阶乘

摘要:解题思路:注意事项:注意单词别打错,人生苦短,我学python参考代码:import mathnumbers = math.factorial(int(input()))while numbers %……

带参宏定义

摘要:解题思路:宏定义的本质是替换过程注意事项:未知变量在主函数中定义参考代码:#include<iostream>using namespace std;#define swap(x,y) {t=x,x=……

输出全排列题解dfs+回溯

摘要:1. # MarkDown编辑器基本使用说```java public class Main{ static int n; static int[] a;//用来记录已经在排列中的数字 sta……