简单易懂自定义函数之字符反串 摘要:解题思路:定义一个函数,计算出字符串长度n,赋值i=n-1(长度是n但是最后一项是a[n-1]) 设置for循环 i从n-1开始一直到0,输出a[i]注意事项:strlen函数:计算字符串位数 字符串…… 题解列表 2022年11月07日 0 点赞 0 评论 331 浏览 评分:9.9
python解答 凑字数..,.,..,.,.. 摘要:解题思路:注意事项:参考代码:sum=0 for a in range(0,1001): sum=sum+a print(sum)…… 题解列表 2022年11月07日 0 点赞 2 评论 373 浏览 评分:9.9
国服韩信教你敲代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int fun(int n){ int i; for(i=2;i*i<=n;i++) …… 题解列表 2022年11月07日 0 点赞 0 评论 433 浏览 评分:9.9
2918: 成绩排序 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { int n = 0, b[25] = {0}; …… 题解列表 2022年11月07日 0 点赞 0 评论 783 浏览 评分:9.9
2917: 奇数单增序列 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int n = 0, a[505] = {0}, q = 0; scanf("%d…… 题解列表 2022年11月07日 0 点赞 0 评论 330 浏览 评分:0.0
2864: 单词替换 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { int n = 0; char s[10…… 题解列表 2022年11月07日 0 点赞 0 评论 615 浏览 评分:7.3
2903: 不高兴的津津 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int a[8] = {0}, n = 0, max = 0, ans = 0; …… 题解列表 2022年11月07日 0 点赞 0 评论 343 浏览 评分:0.0
2886: 图像旋转 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int m = 0, n = 0, a[105][105] = {0}, b[105][10…… 题解列表 2022年11月07日 0 点赞 0 评论 339 浏览 评分:0.0
2800: 多边形内角和 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int n = 0, ans = 0; scanf("%d", &n); …… 题解列表 2022年11月07日 0 点赞 0 评论 382 浏览 评分:0.0
1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n = 0, a[10] = {0}, ans = 0; for (int i = 0; …… 题解列表 2022年11月06日 0 点赞 0 评论 274 浏览 评分:0.0