编写题解 1003: [编程入门]密码破译 (c) 摘要:解题思路:利用Ascl码A 65 a 97 65+32=97注意事项:参考代码:#include"stdio.h" int main() { char ch1,ch2,ch3,ch4,c…… 题解列表 2022年07月26日 0 点赞 0 评论 335 浏览 评分:0.0
编写题解 1005: [编程入门]温度转换 摘要:解题思路以及注意事项:注意scanf("%lf",&f);或者scanf("%f",&f);如果你前面定义的f是用double类型的话,就应该用%lf格式,如果f是float类型的话,就应该用%f,不…… 题解列表 2022年07月26日 0 点赞 4 评论 1426 浏览 评分:9.5
好理解的c++解法 摘要:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; int sum=0; for(…… 题解列表 2022年07月26日 0 点赞 0 评论 576 浏览 评分:9.9
[编程入门]二维数组的转置 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3][3]={0},b[3][3]={0}; //输入a[][] for(int …… 题解列表 2022年07月26日 0 点赞 1 评论 294 浏览 评分:9.9
简单易懂 数字逆序输出 摘要:解题思路:注意事项:参考代码#include<stdio.h>int main(){ int a[10]={0}; for(int i=0;i<10;i++){ scanf("%d…… 题解列表 2022年07月26日 0 点赞 3 评论 310 浏览 评分:9.9
#C++2609——蓝桥杯2021年第十二届省赛真题-时间显示 摘要:解题思路:把毫秒转换成秒数,用时分秒之间的关系进行转换;注意事项:注意不足两位的时间是需要用0填充的,eg:12:00:06 ;参考代码:#include <iostream> #include…… 题解列表 2022年07月26日 0 点赞 0 评论 827 浏览 评分:9.9
2657: 蓝桥杯2022年第十三届省赛真题-修剪灌木-----极短代码 摘要:解题思路:找规律:n=1时是1,n=2时是2,n=3时是424,n=4时是6446,n=5时是86468,由此推下去想到了分类得答案,如代码一所示,后来想一下直接取最大值不是更好吗?于是就有了代码二。…… 题解列表 2022年07月26日 0 点赞 0 评论 1011 浏览 评分:7.5
数字组合(动态规划) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int dp[1001] = {0};int a[20];int main(){ …… 题解列表 2022年07月26日 0 点赞 0 评论 459 浏览 评分:9.9
编辑距离(C++) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int dp[2001][2001] = {0};int main(){ st…… 题解列表 2022年07月26日 0 点赞 0 评论 396 浏览 评分:0.0