字符串判等,,,,,, 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义四个字符串变量,用于存储输入和处…… 题解列表 2024年11月29日 0 点赞 0 评论 254 浏览 评分:0.0
[C语言]字符串拷贝——易懂方法 摘要:解题思路:注意事项:一定要注意字符长度要算上结束符哦!并且要在程序中添加结束字符!参考代码:#include<stdio.h>#include<string.h>int main(){int n,i,…… 题解列表 2024年11月29日 0 点赞 0 评论 487 浏览 评分:0.0
来定义个函数吧 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int pxp(char ch){ if(ch>='A'&&ch<='Z&#…… 题解列表 2024年11月29日 1 点赞 0 评论 237 浏览 评分:0.0
信息学奥赛一本通T1333-Blah数集,队列 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义两个整数变量a和n i…… 题解列表 2024年11月29日 1 点赞 1 评论 404 浏览 评分:0.0
信息学奥赛一本通T1334-围圈报数/?/?】【 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义一个队列,用于存储整数 queue<int> q; int m…… 题解列表 2024年11月29日 0 点赞 0 评论 200 浏览 评分:0.0
信息学奥赛一本通T1335-连通块 bfs 服了呜呜呜 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义全局变量 int n, m, a[1100][1100], kk…… 题解列表 2024年11月30日 0 点赞 0 评论 224 浏览 评分:0.0
可以说是非常详细了,详细的不像话了 摘要:解题思路: 少年无所畏惧,直接上就是了注意事项: 我觉得这题写不出来的可能原因如下: 1.怎么循环输入输出问题;下面有解释 题解列表 2024年11月30日 1 点赞 0 评论 186 浏览 评分:0.0
3081: 围成面积 dfs 摘要:解题思路: 从四条边开始搜索就OK了注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义一个11x11的二维数…… 题解列表 2024年11月30日 0 点赞 0 评论 165 浏览 评分:0.0
二级C语言-成绩归类 摘要:参考代码:#include <stdio.h>int main(){ int n; int a,b,c; a=b=c=0; scanf("%d",&n); while (n!=0) { if (n>8…… 题解列表 2024年11月30日 0 点赞 0 评论 345 浏览 评分:0.0
[编程入门]自定义函数处理最大公约数与最小公倍数 C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; int t,j; scanf("%d%d",&a,&b); j=a*b; while(1) {…… 题解列表 2024年11月30日 0 点赞 0 评论 712 浏览 评分:0.0