2153: 信息学奥赛一本通T1325-循环比赛日程表 解题思路:分治,ma[x][y]=ma[x][y-k]+k,ma[x][y]=ma[x-k][y]+k,ma[x][y]=ma[x-k][y-k]要就复制吧,爱就点赞吧!注意事项:参考代码:#includeusingnamespacestd;intm, 题解列表 2023年01月07日 0 点赞 0 评论 821 浏览 评分:9.8
鸡尾酒疗法,简单方法 摘要:解题思路:注意事项:用整形数据进行除法是要在前面乘以1.0。将其换成浮点型的数据也是可以的。参考代码:#include<stdio.h>int main(){ int n,i,a,b,x,y; …… 题解列表 2023年01月07日 0 点赞 0 评论 705 浏览 评分:2.6
循环入门练习4 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,s=0,n; scanf("%d",&n); for(i=0;i<=n…… 题解列表 2023年01月07日 0 点赞 0 评论 737 浏览 评分:9.9
循环入门练习3 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,s=0,n; scanf("%d",&n); for(i=0;i<=n…… 题解列表 2023年01月07日 0 点赞 0 评论 532 浏览 评分:9.9
循环入门练习2 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,s=0; for(i=0;i<=1000;i++) { …… 题解列表 2023年01月07日 0 点赞 0 评论 503 浏览 评分:0.0
循环入门练习1 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,s=0; for(i=0;i<=1000;i++) { …… 题解列表 2023年01月07日 0 点赞 0 评论 564 浏览 评分:0.0
蓝桥杯算法训练VIP-特殊的数字四十 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a,b,c,d; for(i=1000;i<=9999;i++) { …… 题解列表 2023年01月07日 0 点赞 0 评论 548 浏览 评分:9.9
蓝桥杯算法训练VIP-水仙花 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,a,b,c; scanf("%d",&n); for(i=100;…… 题解列表 2023年01月07日 0 点赞 0 评论 480 浏览 评分:0.0
参考来自csdn 解题思路:这题我一开始总想着要确定一颗起始的珠子,再一直按照顺时针走到尾;看了题解才知道,只要挨着的都可以合成,不一定要按照从头到尾的顺序绕一圈。根据题意,可以发现每次合成需要A-B-C三颗珠子,A-C会被保留,再做一次乘法;B会被“吞掉”, 题解列表 2023年01月07日 0 点赞 0 评论 587 浏览 评分:0.0
编写题解 1649: 蓝桥杯算法训练VIP-特殊的数字四十 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a; int i = 0; int k1,k2,k3,k4; …… 题解列表 2023年01月07日 0 点赞 0 评论 424 浏览 评分:0.0