自定义函数之数字分离(c语言,用指针处理) 摘要:```c #define _CRT_SECURE_NO_WARNINGS 1 #include int count = 0; int* function(int input) { i…… 题解列表 2022年09月10日 0 点赞 0 评论 449 浏览 评分:0.0
自定义函数之字符类型统计(c语言,用结构体计数) 摘要:```c #define _CRT_SECURE_NO_WARNINGS 1 #include #include struct Count { int letter; int …… 题解列表 2022年09月10日 0 点赞 0 评论 383 浏览 评分:0.0
计算数字个数--朴素方法 摘要:解题思路:判断单个元素是否位于数字字符编码区间。首先将字符串转变列表,这样就可以将字符串拆成单个元素,接着使用循环进行查找统计,最后输出。注意事项:参考代码:m=list(input())n=0for…… 题解列表 2022年09月11日 0 点赞 0 评论 562 浏览 评分:6.0
1115: DNA(c++代码) 摘要:```cpp #include using namespace std; void PaintDNA(int a,int b) { for(int i=1;i…… 题解列表 2022年09月11日 0 点赞 0 评论 430 浏览 评分:9.9
1116: IP判断(c++代码) 摘要:```cpp #include #include using namespace std; int main() { int q,len,t; string s; …… 题解列表 2022年09月11日 0 点赞 0 评论 484 浏览 评分:9.9
1117: K-进制数 摘要:```cpp #include using namespace std; int K; int cl(int num,int front) { int temp=0; f…… 题解列表 2022年09月11日 0 点赞 0 评论 360 浏览 评分:9.9
1118: Tom数(c++代码) 摘要:```cpp #include #include using namespace std; int main() { char *str; int tom; w…… 题解列表 2022年09月11日 0 点赞 1 评论 622 浏览 评分:9.9
1119: C语言训练-"水仙花数"问题1 摘要:```cpp #include using namespace std; int s3(int g) { return g*g*g; } int main() { i…… 题解列表 2022年09月11日 0 点赞 0 评论 534 浏览 评分:8.0
1120: C语言训练-"水仙花数"问题2 摘要:简简单单,回味无穷 ```cpp #include using namespace std; int s3(int g) { return g*g*g; } int main(…… 题解列表 2022年09月11日 0 点赞 0 评论 437 浏览 评分:9.9
1121: C语言训练-8除不尽的数 摘要:只是计算 ```cpp #include using namespace std; int main() { cout…… 题解列表 2022年09月11日 0 点赞 0 评论 546 浏览 评分:9.9