单词倒排(使用 isalpha( ) ) 参考代码:```c#include#include#includeintmain(){chara[1000];fgets(a,sizeof(a),stdin);//斯,如果出现运行错误,把gets换成fgets也是没用的,主要问题还是数组空间intlen=strlen(a);for(inti=len- 题解列表 2023年09月29日 0 点赞 0 评论 592 浏览 评分:0.0
结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int judge(int n) { if (n % 4 == 0 && …… 题解列表 2023年09月29日 0 点赞 0 评论 461 浏览 评分:0.0
结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main() { struct student { string Xue…… 题解列表 2023年09月29日 0 点赞 0 评论 537 浏览 评分:0.0
术式反转 赫 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>typedef struct _fushu{ int va…… 题解列表 2023年09月30日 0 点赞 0 评论 693 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>#define maxsize 100typedef struct{ double sco…… 题解列表 2023年09月30日 0 点赞 0 评论 639 浏览 评分:0.0
行程长度编码 参考代码:```c#include#include#includeintmain(){chara[1000];gets(a);intlen=strlen(a);charc;for(inti=0;i 题解列表 2023年09月30日 0 点赞 0 评论 575 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>typedef struct stu_node{ int data; struct st…… 题解列表 2023年09月30日 0 点赞 0 评论 642 浏览 评分:0.0
自定义函数之整数处理 解题思路:用两个变量t1,t2复制数组第一个数和最后一个数,分别以他们为标兵,进行比较,再用新变量n1,n2复制符合条件的下标,再用a[n1/n2]=t1/t2来把对应的原值复制到下标为n1/n2的位置注意事项:要分别用for循环来比较,不然a[0]或a[9]不对参考代码:#include 题解列表 2023年09月30日 0 点赞 0 评论 479 浏览 评分:0.0 判断能否被3、5、7整除 摘要:解题思路:题目说如果能被整除,则从小到大输出能被出的数,那就从到到大,用if判断就好了注意事项:参考代码:#include<stdio.h> int main() { int a; sca…… 题解列表 2023年10月01日 0 点赞 0 评论 568 浏览 评分:0.0 自定义函数之字符串反转 摘要:解题思路:从字符串最后一位数开始输出即可注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i; char a[100…… 题解列表 2023年10月01日 0 点赞 0 评论 422 浏览 评分:0.0 « 12...5265526652675268526952705271...59125913 »
判断能否被3、5、7整除 摘要:解题思路:题目说如果能被整除,则从小到大输出能被出的数,那就从到到大,用if判断就好了注意事项:参考代码:#include<stdio.h> int main() { int a; sca…… 题解列表 2023年10月01日 0 点赞 0 评论 568 浏览 评分:0.0
自定义函数之字符串反转 摘要:解题思路:从字符串最后一位数开始输出即可注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i; char a[100…… 题解列表 2023年10月01日 0 点赞 0 评论 422 浏览 评分:0.0