题解列表
多边形内角和(for循环解题方法)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n,a,sum=0,b,c; scanf("%d",&n); for(i=0;i<……
送分了........
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); while(a) { pri……
核电站问题(C语言)
摘要:解题思路:定义了一个名为 fun 的函数来计算一个与给定整数 n 相关的数值,并在 main 函数中通过输入 n 来调用 fun 函数并输出结果在 fun 函数中,对于 n ……
结构体实现链表,遍历求和 #1585: 蓝桥杯算法训练VIP-链表数据求和操作 (C++)
摘要:```
#include
#include
int res1, res2;
typedef struct lNode {
int num1, num2;
struct lN……
题解 1231: 菜鸟解法
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,n,a[30][30]; while(scanf("%d",&n)==1){ ……
奥运奖牌计数C语言for循环做法分享
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n,a,b,c,d=0,e=0,f=0,g=0; scanf("%d",&n); ……
送分题。。。。。。。
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d",&a); for(b=1;b<a;b++) { ……