【C语言题解/堆栈/表达式求值】 摘要:``` #include #include #include #include #define Elemtype int char String[100000]={0}; …… 题解列表 2024年03月19日 0 点赞 0 评论 432 浏览 评分:0.0
单词的长度 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string s; int f = 0; …… 题解列表 2024年03月19日 0 点赞 0 评论 389 浏览 评分:0.0
蓝桥杯-回形取数【最容易理解、最笨的方法】 摘要:解题思路:设置了h_u, h_d, v_l, v_r 四个参数,分别代表水平上边,水平下边,垂直左边,垂直右边当遍历垂直左边的时候,起始位置为h_u,结束位置为n - h_d当遍历水平下边的时候,起始…… 题解列表 2024年03月19日 0 点赞 0 评论 559 浏览 评分:0.0
java实现日期排序,利用TreeSethhhhhhhh 摘要:解题思路:注意事项:参考代码:import java.math.BigInteger; import java.util.*; public class Main { public …… 题解列表 2024年03月19日 0 点赞 0 评论 357 浏览 评分:0.0
[编程入门]自定义函数处理素数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i;//接收输入的数循环计数。 scanf("%d",&n);//将整数赋值给N for(i=2;i…… 题解列表 2024年03月19日 0 点赞 0 评论 377 浏览 评分:2.0
循环遍历(java) 摘要:解题思路: 遍历大于二的整数满足条件则输出注意事项: 变量的有效范围!!(被困二十分钟)参考代码:import java.util.Scanner;public class Main { publ…… 题解列表 2024年03月19日 0 点赞 0 评论 339 浏览 评分:0.0
Dijskra最短路径 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; const int N=55; int mp[N][N]; int n,…… 题解列表 2024年03月19日 0 点赞 0 评论 337 浏览 评分:9.9
2814 (C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a,b,m=0,c=0; scanf("%d",&n); for(int i=0;…… 题解列表 2024年03月19日 0 点赞 0 评论 353 浏览 评分:0.0
2813 (C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,n,a,b=0; scanf("%d",&m); scanf("%d",&n); …… 题解列表 2024年03月18日 0 点赞 0 评论 295 浏览 评分:0.0
蓝桥杯2022年第十三届省赛真题-求和(C++) 摘要:#include <iostream> using namespace std; const int N = 200000; int main() { int n = 0; …… 题解列表 2024年03月18日 1 点赞 0 评论 339 浏览 评分:0.0