题解列表

筛选

数组插入处理 python

摘要:解题思路:注意事项:参考代码:a = list(map(int,input().split()))b = int(input())a.append(b)a.sort()for i in a:    p……

python-搭积木

摘要:解题思路:搬运的题解。https://www.cnblogs.com/Jozky/p/13928002.html注意事项:参考代码:n,m = map(int,input().strip().spli……

做题记录2022.2.8(ac:100%)

摘要:解题思路:暴力:遍历所有切割位置的不同A和B的所有子串,判断是否是正回文串注意事项:1.子串是不同的!即不同位置出现的相同子串不应重复计数              2.非正回文串包括偶数回文串和非回……

T1006答案解答

摘要:解题思路:使用三木运算符注意事项:* 三目运算符:a > b ? c : d* 当 a > b 为真,执行c ,否则执行d参考代码:#include<stdio.h>int main(){    in……

清晰明了不要想太多

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int N, i; double sum1=0, sum2=0, M; scanf("%lf%d", &M, ……