c++求和训练 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b,c,sum=0,sqrt=0,s…… 题解列表 2023年03月08日 0 点赞 0 评论 557 浏览 评分:0.0
编写题解 2880: 计算鞍点 ```cpp#include#include#include#include#include#includeusingnamespacestd;intmain(){inta[100][100];for(inti=0;ia[i][j];}}inthang, 题解列表 2023年03月08日 0 点赞 0 评论 543 浏览 评分:0.0
STL解法 vector<pair<int ,int>> 然后再 sort 摘要:解题思路: 前两个数相加即vector元素个数,pair将两个数据组合成一个元素,v.push_back后 sort注意: make_pair()是函数 别写成<>参考代码:/******…… 题解列表 2023年03月09日 0 点赞 0 评论 738 浏览 评分:0.0
c++水仙花数判断 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a = 0; for(int i=100;i<=…… 题解列表 2023年03月09日 0 点赞 0 评论 495 浏览 评分:0.0
1491: 蓝桥杯算法提高VIP-交换Easy——Ccp 摘要:解题思路:注意事项:参考代码:int main(){ int N,M; int num[1000]; int i,j; int sw[1000][2]; scanf("%d %d",&N,&M); f…… 题解列表 2023年03月09日 0 点赞 0 评论 674 浏览 评分:9.9
蓝桥杯2013年第四届真题-核桃的数量 摘要:解题思路: 找到abc中最大的数字,逐步相加找到三个数最小公倍数注意事项: 无参考代码:import java.util.Arrays; import java.util.Scanner…… 题解列表 2023年03月09日 0 点赞 0 评论 534 浏览 评分:9.9
1494: 蓝桥杯算法提高VIP-企业奖金发放——Ccp 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a; scanf("%lf",&a); if(a<=100000)printf(…… 题解列表 2023年03月09日 1 点赞 0 评论 700 浏览 评分:9.9
1505: 蓝桥杯算法提高VIP-单词个数统计——Ccp 摘要:解题思路:注意事项:参考代码:#include<string.h>int main(){ char str[80]; int i; gets(str); int counts=0; for(i=0;i…… 题解列表 2023年03月09日 0 点赞 0 评论 502 浏览 评分:9.9
连续输入用重复执行解决 摘要:解题思路:模板给的开头和结尾还是很有用的遇到连续输入还好是还是要尽量用一下while true:try:except:break挺好用注意事项:参考代码:while True: try: …… 题解列表 2023年03月09日 0 点赞 0 评论 473 浏览 评分:0.0
递归初体验 摘要:解题思路:感觉很不错的样子,看了朋友的理解好像有点懂,没什么问题吧,问题简化初始化,看看尽头是什么过程又是什么注意事项:参考代码:def fun(n): if n==1: retu…… 题解列表 2023年03月09日 0 点赞 0 评论 626 浏览 评分:0.0