与指定数字相同的数的个数C解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int M,m,i,count=0; scanf("%d %d",&M,&m); int a[…… 题解列表 2024年02月17日 0 点赞 0 评论 167 浏览 评分:0.0
乘方计算C解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,a,n; scanf("%d %d",&a,&n); m=pow(a,n); …… 题解列表 2024年02月17日 0 点赞 0 评论 206 浏览 评分:0.0
~~【Java】版本~~ 摘要:解题思路:注意事项:注意二位数组边界,内外边界参考代码:import java.util.*; public class Main { public static void main(Str…… 题解列表 2024年02月17日 0 点赞 0 评论 146 浏览 评分:0.0
编写题解 1332: 津津的储蓄计划 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int arr[12] = { 0 }; for (int i = 0; i < 12; i++) { sc…… 题解列表 2024年02月17日 0 点赞 0 评论 200 浏览 评分:0.0
人口增长问题C解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,n; double m; scanf("%d %d",&x,&n); m=x…… 题解列表 2024年02月17日 0 点赞 0 评论 187 浏览 评分:0.0
编写题解 1100: 采药 摘要:解题思路:注意事项:参考代码:T, M = map(int, input().split())grass_time = []grass_value = []for _ in range(M): …… 题解列表 2024年02月18日 0 点赞 0 评论 254 浏览 评分:0.0
蓝桥杯基础练习VIP-矩形面积交 摘要:解题思路:思路参照了python组第一个”D“大佬的题解,同样的思路把代码简化了一下,更方便理解一点参考代码:x1,y1,x2,y2=list(map(float,input().split()))x…… 题解列表 2024年02月18日 1 点赞 0 评论 232 浏览 评分:0.0
省赛真题-纸张尺寸o_O 摘要:解题思路:注意事项:参考代码:size=input()a=int(size[1])length=1189width=841for i in range(a): length=length//2 …… 题解列表 2024年02月18日 0 点赞 0 评论 177 浏览 评分:0.0
统计连通数数量做法 摘要:解题思路:需要修的最少路径数量是连通数量减一注意事项:参考代码:#include<iostream> #include<cstring> using namespace std; const …… 题解列表 2024年02月18日 0 点赞 0 评论 224 浏览 评分:0.0
克鲁斯卡尔(用到并查集) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; const int N=110,M=1e6+…… 题解列表 2024年02月18日 0 点赞 0 评论 132 浏览 评分:0.0