题解列表
1043: [编程入门]三个数字的排序
摘要:解题思路:哔哔哔注意事项:bibibi参考代码:#include<iostream>using namespace std;int main(){ int a,b,c,x1,x2,x3,x4; ……
2772: 苹果和虫子(Python)
摘要:解题思路:注意事项:参考代码:from decimal import *
Pi=3.14159
tmp = input()
n,x,y = tmp.split()
n = int(n)
x ……
2843: 计算2的N次方 高精度+快速幂
摘要:解题思路: 高精度模拟大数乘法,快速幂算法减小复杂度注意事项: 建议使用结构体,主函数更清晰参考代码:#include <iostream>
// #include <sstream>
// #i……
2844: 大整数的因子 (试了下重载运算符)
摘要:解题思路: 高精度,模拟大整数的输入、输出、取模。这里使用重载运算符,单纯为了好玩注意事项:注意没有合适的k的时候还要输出"none"参考代码:#include <iostream>
// #inc……
编程学习!!!!!!!!!!!!!!
摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main{ public static void main(String[] args)……
编写题解 1098: 陶陶摘苹果
摘要:解题思路:注意事项:参考代码:a = list(map(int,input().split(" ")))b = int(input())b = b+30count = 0for i in range……
2817: 级数求和
摘要:注意事项:参考代码:Sn = n = 0
k = int(input())
while True:
n = n + 1
Sn = Sn + 1/n
if Sn >
2869: 字符串最大跨距
摘要:解题思路:注意事项:参考代码:s,s1,s2 = input().strip().split(",")
if s1 in s and s2 in s:
a = s.index(s1)
……
3030基础解法(Python)
摘要:解题思路:恰如title注意事项:理解库函数即可参考代码:import itertoolss = input()for data in itertools.permutations(s, len(s)……