统计字符个数(靠,真就只要10个,多一个都不行是吧) 摘要:参考代码: ```c #include #include #include int main() { char a[200]; gets(a); int len=strlen(…… 题解列表 2023年10月28日 0 点赞 0 评论 270 浏览 评分:0.0
去除空格(C语言) 摘要:参考代码: ```c #include void Spacebar(char *a,int len) { for(int i=0;i…… 题解列表 2023年10月28日 0 点赞 0 评论 366 浏览 评分:0.0
寻找奇整数(使用sizeof()函数计算数组长度) 摘要:参考代码: ```c #include int main() { int a[]={3,7,5,13,25,45,78,23,8,33,9,19,28,41,50}; int len=…… 题解列表 2023年10月28日 0 点赞 0 评论 217 浏览 评分:0.0
[编程入门]第一个HelloWorld程序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ printf("**************************\n"); printf("He…… 题解列表 2023年10月28日 0 点赞 0 评论 158 浏览 评分:0.0
最简单写法c++ 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int h = 1189; int t = h; int w = 84…… 题解列表 2023年10月28日 1 点赞 0 评论 295 浏览 评分:0.0
[编程入门]自定义函数之字符串拷贝 STL大法 摘要: 参考代码: #include <iostream> using namespace std; string x; int n,k; int main() { cin>>n>>…… 题解列表 2023年10月28日 1 点赞 0 评论 188 浏览 评分:0.0
水仙花数判断C代码记录 摘要:解题思路:注意事项:参考代码:本人代码#include<stdio.h> int main() { int h,d,u; for(h=1;h<10;h++) …… 题解列表 2023年10月28日 0 点赞 0 评论 144 浏览 评分:0.0
在原数组中搜索能互质的数---在剩下的数中搜索能互质的数 摘要: n=int(input()) b=list(map(int,input().split())) def gcd(a,b): if a%b == 0: return …… 题解列表 2023年10月28日 0 点赞 0 评论 152 浏览 评分:0.0
[编程入门]密码破译 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char c1,c2,c3,c4,c5; scanf("%c%c%c%c%c",&c1,&c2,&c…… 题解列表 2023年10月28日 0 点赞 0 评论 196 浏览 评分:0.0
第十三次作业2题 摘要:解题思路:利用桶排序思想计数注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int tong[100000];int main(){ …… 题解列表 2023年10月28日 0 点赞 0 评论 163 浏览 评分:0.0