1119: C语言训练-"水仙花数"问题1 摘要:```cpp #include using namespace std; int s3(int g) { return g*g*g; } int main() { i…… 题解列表 2022年09月11日 0 点赞 0 评论 524 浏览 评分:8.0
1118: Tom数(c++代码) 摘要:```cpp #include #include using namespace std; int main() { char *str; int tom; w…… 题解列表 2022年09月11日 0 点赞 1 评论 597 浏览 评分: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 评论 339 浏览 评分:9.9
1116: IP判断(c++代码) 摘要:```cpp #include #include using namespace std; int main() { int q,len,t; string s; …… 题解列表 2022年09月11日 0 点赞 0 评论 457 浏览 评分:9.9
1115: DNA(c++代码) 摘要:```cpp #include using namespace std; void PaintDNA(int a,int b) { for(int i=1;i…… 题解列表 2022年09月11日 0 点赞 0 评论 404 浏览 评分:9.9
计算数字个数--朴素方法 摘要:解题思路:判断单个元素是否位于数字字符编码区间。首先将字符串转变列表,这样就可以将字符串拆成单个元素,接着使用循环进行查找统计,最后输出。注意事项:参考代码:m=list(input())n=0for…… 题解列表 2022年09月11日 0 点赞 0 评论 548 浏览 评分:6.0
自定义函数之字符类型统计(c语言,用结构体计数) 摘要:```c #define _CRT_SECURE_NO_WARNINGS 1 #include #include struct Count { int letter; int …… 题解列表 2022年09月10日 0 点赞 0 评论 361 浏览 评分:0.0
自定义函数之数字分离(c语言,用指针处理) 摘要:```c #define _CRT_SECURE_NO_WARNINGS 1 #include int count = 0; int* function(int input) { i…… 题解列表 2022年09月10日 0 点赞 0 评论 429 浏览 评分:0.0
C语言最简单代码 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); int n; for(n=1;n<=a;n++){ int i; …… 题解列表 2022年09月10日 0 点赞 0 评论 324 浏览 评分:9.9
1002简单的解法(C) 摘要:解题思路:如下注意事项:如果复制,请复制过后检查,我提交时是正确的。参考代码:#include<stdio.h>int main(){int a,b,c;//定义。scanf("%d%d%d",&a,…… 题解列表 2022年09月10日 0 点赞 3 评论 270 浏览 评分:9.9