怎么没人??那我来吧!!!! 摘要:```cpp #include using namespace std; char s1[101],s2[101],x[101],t[101]; int l,l1; int main() …… 题解列表 2023年02月22日 0 点赞 0 评论 659 浏览 评分:8.0
蓝桥杯2022年第十三届省赛真题-纸张尺寸(结构体) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>typedef struct{ //定义结构体,构造数据类型z,分别存储长和宽 int l; int w;}z;i…… 题解列表 2023年02月22日 0 点赞 0 评论 459 浏览 评分:6.0
2826: 雇佣兵(python) 摘要:解题思路:注意事项:参考代码:from decimal import * M,N,X = map(int,input().split()) while X > 0 and X * N >= M: …… 题解列表 2023年02月22日 0 点赞 0 评论 408 浏览 评分:0.0
1046: [编程入门]自定义函数之数字后移 摘要:```cpp #include using namespace std; /* 题目描述 有n个整数,使前面各数顺序向后移m个位置,最后m个数变成前面m个数。写一函数:实现以上功能,在主函数中…… 题解列表 2023年02月22日 0 点赞 1 评论 251 浏览 评分:8.0
2861: 验证子串 输入用cin可以,用getline不行,不知道为什么 摘要:解题思路:注意事项:参考代码:#include <iostream> // #include <sstream> // #include <cstdio> // #include <algori…… 题解列表 2023年02月22日 0 点赞 0 评论 516 浏览 评分:5.2
2864: 单词替换 STL版 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <sstream> // #include <cstdio> // #include <algorithm…… 题解列表 2023年02月22日 0 点赞 0 评论 401 浏览 评分:9.9
我觉得比楼上写的还简单^_^ 摘要:解题思路:注意事项:参考代码:#include <iostream> // #include <sstream> // #include <cstdio> // #include <algori…… 题解列表 2023年02月22日 0 点赞 1 评论 330 浏览 评分:9.9
2867: 单词的长度 c++简洁版 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string> using namespace std; int main() { boo…… 题解列表 2023年02月22日 0 点赞 0 评论 377 浏览 评分:0.0
记录相同字符的必会想法 摘要:解题思路:字符串有空格 用getline输入 然后统计相同字符的个数 比较一下注意事项:这里大小写忽略 统一一下即可参考代码:#include<bits/stdc++.h>using namespac…… 题解列表 2023年02月22日 0 点赞 0 评论 594 浏览 评分:9.9
<计算机二级>数组的平均值计算(C语言) 摘要:#include<stdio.h> int main() { int arr[10],sum=0,count=0; int ave; for (int i = 0; i < 10; i…… 题解列表 2023年02月22日 0 点赞 0 评论 307 浏览 评分:9.9