1045: [编程入门]自定义函数之整数处理 摘要:```cpp #include using namespace std; int a[10],i,maxx=0,minn=10000,m,n; void scanf() { for(i=…… 题解列表 2022年12月06日 0 点赞 0 评论 371 浏览 评分:9.9
1046: [编程入门]自定义函数之数字后移 摘要:```cpp #include #define N 1005 int a[N]; int main() { int i,n,m; scanf("%d",&n); for(i=0;…… 题解列表 2022年12月06日 0 点赞 0 评论 289 浏览 评分:9.9
1031: [编程入门]自定义函数之字符串反转 摘要:```cpp #include int main() { char s[1000]; gets(s); int len=strlen(s); for(int i=len-1;i>…… 题解列表 2022年12月06日 0 点赞 0 评论 340 浏览 评分:9.9
1032: [编程入门]自定义函数之字符串连接 摘要:```cpp #include int main() { char s[1000],t[1000]; gets(s); int len1=strlen(s); gets(t); …… 题解列表 2022年12月06日 0 点赞 0 评论 887 浏览 评分:7.3
1124: C语言训练-大、小写问题 摘要:```cpp #include int main() { char s[1000]; gets(s); int len1=strlen(s); for(int i=0;i='A'…… 题解列表 2022年12月06日 0 点赞 0 评论 385 浏览 评分:9.9
1196: 去掉空格 摘要:```cpp #include using namespace std; int main() { char s[1000]; while(gets(s)) { …… 题解列表 2022年12月06日 0 点赞 0 评论 313 浏览 评分:9.9
1042: [编程入门]电报加密 摘要:```cpp #include using namespace std; int main() { char s[1000]; int i; gets(s); …… 题解列表 2022年12月06日 0 点赞 0 评论 448 浏览 评分:9.9
1018: [编程入门]有规律的数列求和 (含注释) 摘要:解题思路: 1.找出规律:从第三项开始,分子为前一项分子和分母的和;分母等于前一项分子。注意事项: 计算下一项分子时,需要中间变量来保存该项分子值,以便赋值给下一项的分母。参…… 题解列表 2022年12月06日 0 点赞 0 评论 310 浏览 评分:9.9
结构体与时间设计C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct Date{ int year; int mouth; int day;}data;int main(){ int i=0;…… 题解列表 2022年12月06日 0 点赞 0 评论 290 浏览 评分:0.0
题解: 蓝桥杯算法训练VIP-反置数【Python】 摘要:解题思路:转为字符串,逆序后再转为int参考代码:def func(num): num = [i for i in str(num)] return int(''.…… 题解列表 2022年12月06日 0 点赞 0 评论 251 浏览 评分:9.9