题解列表
java求一元二次方程
摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {……
蓝桥杯2014年第五届真题-兰顿蚂蚁(python)
摘要:解题思路:把蚂蚁的行动、动作当作对象,创建关于mayi()的的对象,并对蚂蚁行动关于黑格、白格等转向设置函数point(self),在主函数中对行走后原位置黑白格取反注意事项:此代码中,每个格子的参数……
STL vector实现快速排序
摘要:解题思路:递归+双指针注意事项: vector索引必须用int, 不能用size_t参考代码:#include<iostream>#include<vector>using namespace std……
python--study||O.o
摘要:参考代码:#time是之前的飞机降落所需的时间
def dfs(step, time):
if step == n:
return True
for i in ……
python--study||O.o
摘要:参考代码:t = int(input())
res_min, res_max = 0, 1e10
for _ in range(t):
a, b = map(int, input().s……
给哥哥大苏打大师傅发射点风格如果
摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ //比赛n轮,输入n ,小A的周期长度na,小B的周期长度nb……
python--study||O.o
摘要:参考代码:n = int(input())
a = list(map(int, input().split()))
b = list(map(int, input().split()))
c =……
与指定数字相同的数的个数
摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;const int N=1e7;typedef long long ll;int a[N];……