1021: [编程入门]迭代法求平方根 海事守门鼠 摘要:迭代法求平方根 ```c #include #include int main() { double x, y, a; scanf("%lf", &a); …… 题解列表 2024年03月09日 0 点赞 0 评论 268 浏览 评分:9.9
Jayden-[解释通俗易懂,一看就会! ] 短信计费 摘要:解题思路: 每条短信小于等于70字,按每条短信0.1元计费; 每条短信大于70,每70字计费0.1元,剩下小于70的部分也是0.1元计费。注意事项: 调用co…… 题解列表 2024年03月09日 0 点赞 1 评论 331 浏览 评分:9.9
N以内的素数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,j,count; scanf("%d",&n); for(i=1;i<n;i++) …… 题解列表 2024年03月09日 0 点赞 0 评论 208 浏览 评分:9.9
砍树(详细注释)--先暴力--再树链剖分+树差分优化 摘要:解题思路:满足条件的边一定是每组数据都要经过的公共边例如:3 6;4 5;那满足条件的边一定既是3到6的路径又是4到5的路径,那这条边权值一定为m;再选出最大编号的边注意事项:参考代码:暴力(只能过一…… 题解列表 2024年03月09日 0 点赞 0 评论 561 浏览 评分:7.3
第十四届省赛真题填充 摘要:解题思路:注意事项:s=input() l=len(s) i=0 ss=["11","00","?1","?0","0?","1?","??"] c=0 while i<l-1: …… 题解列表 2024年03月10日 0 点赞 0 评论 428 浏览 评分:9.9
1265: 青年歌手大奖赛_评委会打分 摘要: #include #include #include using namespace std; int a[105]; int main()…… 题解列表 2024年03月10日 0 点赞 0 评论 187 浏览 评分:0.0
3041: 最大子矩阵-动态规划 摘要: #include using namespace std; int num[105][105]; int p[105][105]; int main()…… 题解列表 2024年03月10日 0 点赞 0 评论 485 浏览 评分:0.0
蓝桥杯2019年第十届省赛真题-特别数的和 摘要:#include <iostream> #include <cstring> #include <cstdio> #include <algorithm> using namespac…… 题解列表 2024年03月10日 0 点赞 0 评论 347 浏览 评分:9.9
第十四届省赛真题-平均 摘要:n=int(input()) time=n//10 sum_=0 d={} for i in range(n): d[i]=[] for i in range(n): x,…… 题解列表 2024年03月10日 0 点赞 1 评论 895 浏览 评分:9.5
成绩判定(数组和分支的结合) 摘要:#include <stdio.h>int main(){ int cj; scanf("%d",&cj); int x; x=cj/10-6; char…… 题解列表 2024年03月10日 0 点赞 0 评论 602 浏览 评分:0.0