二级c语言-计负均正 摘要:解题思路:注意事项:参考代码:#include"stdio.h" int main(){ double sum=0; int ans=0; int d; for(int i=0;i<…… 题解列表 2022年10月25日 0 点赞 0 评论 430 浏览 评分:0.0
计算矩阵边缘元素之和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,n; int i=0,j=0; int a[100][100]={0}; i…… 题解列表 2022年10月25日 0 点赞 0 评论 1514 浏览 评分:0.0
编写题解 2880: 计算鞍点 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int max[5]={0}; int min[5]={0}; int i=0,j=0; …… 题解列表 2022年10月25日 0 点赞 0 评论 453 浏览 评分:0.0
1431蓝桥杯2014年第五届真题-分糖果题解 摘要:解题思路:运用列表里面最后一个数据的索引可以是n-1也可以是-1,来进行遍历注意事项:参考代码:n= int(input()) #一开始为了方便自己查看,输入里面有个‘人数’,然后一直错误list…… 题解列表 2022年10月25日 0 点赞 0 评论 375 浏览 评分:0.0
c语言的一种思路 摘要:解题思路:6注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100]; gets(a); vow(a)…… 题解列表 2022年10月25日 0 点赞 0 评论 287 浏览 评分:0.0
简单的fot循环语句即可 摘要:解题思路:注意事项:参考代码:# include <stdio.h>int main(void){ int a,n,i; int Sn; scanf("%d", &n); a = 0; Sn = 0;…… 题解列表 2022年10月25日 0 点赞 0 评论 361 浏览 评分:0.0
2种方法写题解 摘要:解题思路:注意事项:参考代码:a= input()k=0for i in a: if 47<ord(i) and ord(i)<58: #ASCII码判断是不是数字 k+=1pr…… 题解列表 2022年10月25日 0 点赞 0 评论 585 浏览 评分:0.0
自定义函数之数字分离(数组版) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>char a[81],b[81];int i;char c=' ';void f()…… 题解列表 2022年10月25日 0 点赞 0 评论 300 浏览 评分:0.0
1204: 大小写转换 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { char str[85] = {0}; …… 题解列表 2022年10月26日 0 点赞 0 评论 347 浏览 评分:0.0
时间效率题 摘要:解题思路:1、最菜鸟的解题方法:就是遍历使用双层for把两个数遍历出来,然后在里面调用一个函数,函数的用途是判断这两个数是否是亲密数,函数参数是遍历的两个数。然后函数体定义部分是,使用for循环把这两…… 题解列表 2022年10月26日 0 点赞 0 评论 398 浏览 评分:0.0