数组插入处理 python 摘要:解题思路:注意事项:参考代码:a = list(map(int,input().split()))b = int(input())a.append(b)a.sort()for i in a: p…… 题解列表 2022年02月05日 0 点赞 0 评论 350 浏览 评分:2.0
python-搭积木 摘要:解题思路:搬运的题解。https://www.cnblogs.com/Jozky/p/13928002.html注意事项:参考代码:n,m = map(int,input().strip().spli…… 题解列表 2022年02月06日 0 点赞 0 评论 449 浏览 评分:2.0
做题记录2022.2.8(ac:100%) 摘要:解题思路:暴力:遍历所有切割位置的不同A和B的所有子串,判断是否是正回文串注意事项:1.子串是不同的!即不同位置出现的相同子串不应重复计数 2.非正回文串包括偶数回文串和非回…… 题解列表 2022年02月08日 0 点赞 0 评论 261 浏览 评分:2.0
Hifipsysta-1718-数据结构-堆排序(C++代码)最简单 摘要:```cpp #include #include #include using namespace std; int main(){ int N; scanf("%…… 题解列表 2022年02月14日 0 点赞 0 评论 377 浏览 评分:2.0
1020: [编程入门]猴子吃桃的问题 摘要:#include //真的特别简单 int main(void) { int n;//天数 scanf("%d",&n);//输入 int z=1;//总桃数 for (int a=1…… 题解列表 2022年02月19日 0 点赞 0 评论 223 浏览 评分:2.0
把可能的回文串凑出来即可 很简单的思路 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { static int[] Month = {31,28,31,30,31,…… 题解列表 2022年02月21日 0 点赞 0 评论 607 浏览 评分:2.0
T1006答案解答 摘要:解题思路:使用三木运算符注意事项:* 三目运算符:a > b ? c : d* 当 a > b 为真,执行c ,否则执行d参考代码:#include<stdio.h>int main(){ in…… 题解列表 2022年02月28日 0 点赞 0 评论 296 浏览 评分:2.0
编写题解 1017: [编程入门]完数的判断 摘要:解题思路:代码改编自Alkaid,就是减少了b这个变量,运用了python的函数sum参考代码:n=int(input())for x in range(6,n+1): a=[] if x…… 题解列表 2022年02月28日 0 点赞 0 评论 354 浏览 评分:2.0
清晰明了不要想太多 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int N, i; double sum1=0, sum2=0, M; scanf("%lf%d", &M, …… 题解列表 2022年03月09日 0 点赞 0 评论 238 浏览 评分:2.0
编写题解 1114: C语言考试练习题_排列 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int str[4]; for(int i=0;i<4;i++) { scanf("%d",&str[i]);…… 题解列表 2022年03月09日 0 点赞 0 评论 391 浏览 评分:2.0