题解列表
2830: 数字统计
摘要:参考代码:L, R = map(int, input().split())
s = 0
for i in range(L, R + 1):
s += str(i).count('……
2827: 计算多项式的导函数
摘要:参考代码:n = int(input())
if n == 0:
print(0)
quit()
arr = list(map(int, input().split()))
……
报时助手——基础题目
摘要:解题思路:很简单,分情况讨论即可注意事项:参考代码:h, m = map(int, input().split()) # 时分
M = {0: 'zero', 1: '……
【C语言题解/堆栈/表达式求值】
摘要:```
#include
#include
#include
#include
#define Elemtype int
char String[100000]={0};
……
蓝桥杯-回形取数【最容易理解、最笨的方法】
摘要:解题思路:设置了h_u, h_d, v_l, v_r 四个参数,分别代表水平上边,水平下边,垂直左边,垂直右边当遍历垂直左边的时候,起始位置为h_u,结束位置为n - h_d当遍历水平下边的时候,起始……
java实现日期排序,利用TreeSethhhhhhhh
摘要:解题思路:注意事项:参考代码:import java.math.BigInteger;
import java.util.*;
public class Main {
public ……