蓝桥杯2020年第十一届省赛真题-平面切分 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; struct node { long double x,y; }a[…… 题解列表 2024年03月27日 0 点赞 0 评论 511 浏览 评分:9.9
蓝桥杯算法训练VIP-摆动序列(秒解) 摘要:解题思路: 每一组数只有唯一两种排列方式,先对K内求得长度在2以上的组合数,然后求和后乘2即可。 1&n 题解列表 2024年03月27日 0 点赞 0 评论 444 浏览 评分:9.9
python代码解决问题 摘要:解题思路:注意事项:参考代码:x1,y1,x2,y2,x3,y3,x4,y4=map(int,input().split())s1=(x2-x1)*(y2-y1)+(x4-x3)*(y4-y3)x_l…… 题解列表 2024年03月27日 0 点赞 0 评论 373 浏览 评分:0.0
利用重载进行多个数字相加 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int add(int a,int b){ return (a+b);}int add(…… 题解列表 2024年03月27日 0 点赞 0 评论 415 浏览 评分:0.0
选数异或(线段树思路详解) 摘要:解题思路: 思路详解在:https://www.acwing.com/solution/content/228403/参考代码:const int N = 1e5; #include <iostre…… 题解列表 2024年03月27日 2 点赞 0 评论 727 浏览 评分:10.0
Java的动态规划 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class BookBuying { public static void main(String[…… 题解列表 2024年03月27日 0 点赞 0 评论 455 浏览 评分:9.9
P0505求n!的最右端非零数含详解 C语言 百分百通过 摘要:解题思路: 灵感来源于n个数相乘最右侧的数是什么?这个题目 首先我们要是直接使用阶乘的结果来进行判断的话int类型在13!时失败,最大的float类型在35!时失败,因而我们想要通过正常算…… 题解列表 2024年03月28日 0 点赞 0 评论 450 浏览 评分:9.9
编写题解 1847: 字符串中间和后边*号删除 摘要:解题思路:注意事项:参考代码:#include<string.h>#include<stdio.h>int fun(char* a){ while (*a == '*') { …… 题解列表 2024年03月28日 0 点赞 0 评论 376 浏览 评分:9.9
简单易理解,利用循环解决此题 摘要:解题思路:注意事项:参考代码:a,b,c=map(int,input().split())d=0da=(1,3,5,7,8,10,12)xiao=(4,6,9,11)for i in range(1,…… 题解列表 2024年03月28日 1 点赞 0 评论 364 浏览 评分:9.9
简单的矩阵加法 摘要: #include int main() { int n,m; while((scanf("%d%d",&n,&m))!=EOF) …… 题解列表 2024年03月28日 0 点赞 0 评论 554 浏览 评分:6.0