题解列表

筛选

数列左右数列排序

摘要:解题思路:数列排序注意事项:数列排序参考代码:import java.util.LinkedList;import java.util.Scanner;public class main {publi……

自定义字符类型统计

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>void tongji(char a[1000],  int *letter, int *num……

位数问题动态规划(java)

摘要:解题思路: 代码使用了动态规划来计算N位数中包含偶数个数字3的数的个数,并将结果对12345取余注意事项:参考代码:import java.util.Scanner; public class ……

发工资咯(python)

摘要:解题思路:注意事项:参考代码:while True:    n, *salaries = list(map(int, input().split()))    if n == 0:        br……

c语言阶乘数列

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){     double i=1;     double sum=0.0;     for(i=1;i<=30;i+……

蓝桥杯2013年第四届真题-错误票据

摘要:这道题需要掌握的是读入方式#include<sstream>如果两个id重号,则必然排序在一起,断号则说明a[i]和a[i-1]之间缺了一个数#include <iostream> #include……

苹果和虫子

摘要:#include<iostream>using namespace std;int main(){ int n,z,k; double x,y,a; cin>>n>>x>>y; a=y/x; k=0;……

1286: 最大配对

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>#include<iomanip>#include<algorithm>using namespace ……