奥运奖牌计数C语言for循环做法分享 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n,a,b,c,d=0,e=0,f=0,g=0; scanf("%d",&n); …… 题解列表 2024年11月23日 0 点赞 0 评论 482 浏览 评分:0.0
结构体实现链表,遍历求和 #1585: 蓝桥杯算法训练VIP-链表数据求和操作 (C++) ```#include#includeintres1,res2;typedefstructlNode{intnum1,num2;structlNode*next;}lNode,*linkList;boolheadInsert(linkList&l){intx1, 题解列表 2024年11月23日 0 点赞 0 评论 492 浏览 评分:0.0
最复杂的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int sxh(int a){ int b,c,d; b=a%10; c=a/10%1…… 题解列表 2024年11月23日 0 点赞 0 评论 422 浏览 评分:0.0
送分了........ 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); while(a) { pri…… 题解列表 2024年11月23日 0 点赞 0 评论 379 浏览 评分:0.0
多边形内角和(for循环解题方法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n,a,sum=0,b,c; scanf("%d",&n); for(i=0;i<…… 题解列表 2024年11月23日 0 点赞 0 评论 508 浏览 评分:0.0
注意题目要求 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c=0,d=0,e=0,f=0,sum=0; scanf("%d",&a); …… 题解列表 2024年11月23日 0 点赞 0 评论 481 浏览 评分:0.0
普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); if (n<0) printf("negative"); if …… 题解列表 2024年11月23日 0 点赞 0 评论 1005 浏览 评分:0.0
2783普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); if (n >=10 && n<=99) printf("1")…… 题解列表 2024年11月23日 0 点赞 0 评论 678 浏览 评分:0.0
2784普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,m; scanf("%d%d",&n,&m); if (n >=10 || m>=20) prin…… 题解列表 2024年11月23日 0 点赞 0 评论 552 浏览 评分:0.0
2785普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); if (n%3 == 0 && n%5== 0) printf(…… 题解列表 2024年11月23日 0 点赞 0 评论 557 浏览 评分:0.0