C题解 2829: 数1的个数 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ long long a,b=0; scanf("%…… 题解列表 2025年01月26日 0 点赞 0 评论 120 浏览 评分:0.0
题解 2828: 与7无关的数 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ long long a,b=0; scanf("%…… 题解列表 2025年01月26日 0 点赞 0 评论 131 浏览 评分:10.0
题解 2819: 数字反转 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b=0; scanf("%d"…… 题解列表 2025年01月26日 1 点赞 0 评论 180 浏览 评分:0.0
C语言数字迭代处理,细节处理 摘要:解题思路:获取每位上的数字并输出注意事项:输入超过4位不处理,最后一位后无空格参考代码:#include<stdio.h>int main(){&nbs…… 题解列表 2025年01月26日 1 点赞 0 评论 391 浏览 评分:0.0
编写题解 3076: 中缀表达式值(expr)(C++版) !!! 加入“乐天之小团”可以看很多答案 !!! 摘要:```cpp#include#includeusing namespace std;const int N=1e5+5;string st;pair pf[N];int…… 题解列表 2025年01月26日 0 点赞 0 评论 178 浏览 评分:0.0
Sn的公式求和 摘要:解题思路:首先需要定义两个变量,一个变量用来存储和,sum,另一个变量用来存每次计算的结果 term,由于a的值始终为2,所以每次计算后都需要在原来的结算结果的基础上进位并加2.注意事项:参考代码:#…… 题解列表 2025年01月26日 0 点赞 0 评论 532 浏览 评分:0.0
题解 2807: 利息计算问题。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int r,m,y; scanf("%d%d%d\n",&r,&…… 题解列表 2025年01月25日 0 点赞 0 评论 191 浏览 评分:0.0
2013: 一元n次方程(C语言简单解法,包看懂的) 摘要:思路:把第一位,中间部分,最后一位分成三部分每一部分都有a[i]的5种情况:>1 =1 =0(不用写出来)…… 题解列表 2025年01月25日 1 点赞 0 评论 112 浏览 评分:10.0
题解 2808: 买房子//////// 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,k; scanf("%d%d\n",&n,&k); …… 题解列表 2025年01月25日 0 点赞 0 评论 107 浏览 评分:0.0
2012: 百分制成绩转换(c语言简易) 摘要:参考代码:#include <stdio.h>#include <string.h>int main(){ int a[100]; int n,i; int A=0,B=0,C…… 题解列表 2025年01月25日 1 点赞 0 评论 128 浏览 评分:10.0