题解列表
用Python完成dna
摘要:解题思路:注意事项:注意格式,以及对X的赋值时机的公式参考代码:n = eval(input())while n > 0 : a,b = map(int,input().split()) ……
lower()一步到位
摘要:解题思路:字数太少了,凑几个字。。。。。。。。。。。。。。。。注意事项:参考代码:N = input()print(N.lower())……
题解 1716:快速排序
摘要: import java.util.*;
public class Main {
public static void main(String[] arg……
蓝桥杯基础练习-十六进制转八进制(Java)
摘要: import java.util.*;
import java.math.*;
public class Main
{
public……
字符串比较(C语言)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int StrCmp(char *str1, char *str2){ int min =……
2244: 蓝桥杯算法训练-C++ CH08 01(Python3)格式化输出
摘要:解题思路:找公约数并不断约分即可,最后使用python的格式化输出(Python3功能)输出即可。注意事项:这题目测用C++写会麻烦一些。。参考代码:def test(x, y):
whil……
Python 解题思路
摘要:解题思路:先将该数开平方,然后保留整数重新开方即可注意事项:保留整数遵循四舍五入原则,如果舍去导致开方比n小,记得加上1参考代码:import mathn = int(input())b = math……
python3的datetime扩展库和列表完成的日期排序
摘要:解题思路:刚刚学到datetime扩展库,正好借此练习一下,不过不知道为什么不能通过....-_-b1.首先从键盘一行一行输入日期,结果转换存放到datetime变量中2.集中放到一个大列表3.全部数……