1045: [编程入门]自定义函数之整数处理 摘要:```cpp #include using namespace std; /* 题目描述 输入10个整数,将其中最小的数与第一个数对换,把最大的数与最后一个数对换。 写三个函数; ①输入…… 题解列表 2023年02月22日 0 点赞 1 评论 279 浏览 评分:9.9
@更向天涯 小李子不行啊!!! 摘要:解题思路:注意事项:cin、cout一定要改成scanf和printf不然会超时!!!!参考代码:#include<bits/stdc++.h>using namespace std;int a[10…… 题解列表 2023年02月22日 0 点赞 6 评论 309 浏览 评分:9.9
怎么没人??那我来吧!!!! 摘要:```cpp #include using namespace std; char s1[101],s2[101],x[101],t[101]; int l,l1; int main() …… 题解列表 2023年02月22日 0 点赞 0 评论 631 浏览 评分:8.0
蓝桥杯2022年第十三届省赛真题-纸张尺寸(结构体) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>typedef struct{ //定义结构体,构造数据类型z,分别存储长和宽 int l; int w;}z;i…… 题解列表 2023年02月22日 0 点赞 0 评论 422 浏览 评分: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 评论 372 浏览 评分:0.0
1046: [编程入门]自定义函数之数字后移 摘要:```cpp #include using namespace std; /* 题目描述 有n个整数,使前面各数顺序向后移m个位置,最后m个数变成前面m个数。写一函数:实现以上功能,在主函数中…… 题解列表 2023年02月22日 0 点赞 1 评论 231 浏览 评分:8.0
2861: 验证子串 输入用cin可以,用getline不行,不知道为什么 摘要:解题思路:注意事项:参考代码:#include <iostream> // #include <sstream> // #include <cstdio> // #include <algori…… 题解列表 2023年02月22日 0 点赞 0 评论 433 浏览 评分:5.2
2864: 单词替换 STL版 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <sstream> // #include <cstdio> // #include <algorithm…… 题解列表 2023年02月22日 0 点赞 0 评论 332 浏览 评分:9.9
我觉得比楼上写的还简单^_^ 摘要:解题思路:注意事项:参考代码:#include <iostream> // #include <sstream> // #include <cstdio> // #include <algori…… 题解列表 2023年02月22日 0 点赞 1 评论 307 浏览 评分:9.9
2867: 单词的长度 c++简洁版 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string> using namespace std; int main() { boo…… 题解列表 2023年02月22日 0 点赞 0 评论 332 浏览 评分:0.0