c代码记录之大写转小写--水题 摘要: ```c #include int main(){ char a; while((a=getchar())!=EOF) printf("%c",a…… 题解列表 2024年01月16日 0 点赞 0 评论 240 浏览 评分:0.0
c代码记录之去掉空格--水题 摘要: ```c #include int main(){ char a; while((a=getchar())!=EOF) if(a!=' ') …… 题解列表 2024年01月16日 0 点赞 0 评论 158 浏览 评分:0.0
题解 3013: 求小数的某一位 标题 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ long long a,b,n,c; cin>>a>>b…… 题解列表 2024年01月16日 0 点赞 0 评论 232 浏览 评分:0.0
求小数的某一位 3013: 摘要:解题思路:#include <iostream>using namespace std;int main(){ long long a,b,n,c; cin>>a>>b>>n; fo…… 题解列表 2024年01月16日 0 点赞 0 评论 159 浏览 评分:0.0
题解 2818: 分离整数的各个数位(十分硬核) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ long long n; cin>>n; whil…… 题解列表 2024年01月16日 0 点赞 0 评论 139 浏览 评分:0.0
分离整数的各个数位 2818 摘要:解题思路:#include <iostream>using namespace std;int main(){ long long n; cin>>n; while(n) { …… 题解列表 2024年01月16日 0 点赞 0 评论 166 浏览 评分:0.0
2819: 数字反转 摘要:解题思路:注意事项:参考代码:include <bits/stdc++.h>using namespace std;int main(){ long long n=0,a,b,sum=0;//s…… 题解列表 2024年01月16日 0 点赞 0 评论 169 浏览 评分:0.0
数字反转 2819: 摘要:解题思路:#include <iostream>using namespace std;int main(){ long long n, s=0; cin>>n; while(n) …… 题解列表 2024年01月16日 0 点赞 0 评论 150 浏览 评分:0.0
题解 2819: 数字反转 摘要:解题思路:注意事项:参考代码:#include <iostream>//忘用万能头了using namespace std;int main(){ long long a;//数大,int装不下…… 题解列表 2024年01月16日 1 点赞 0 评论 163 浏览 评分:0.0
编写题解 2819: 数字反转编写题解 2819: 数字反转编写题解 2819: 数字反转编写题解 2819: 数字反转编写题解 2819: 数字反转 摘要:解题思路:1. 首先定义一个变量 ans 并将其初始化为 0,用于存储反转后的数字。2. 通过循环遍历给定的整数 n,直到 n 变为 0。3. 在循环中,将 ans 左移一位(乘以 10),并加上 n…… 题解列表 2024年01月16日 1 点赞 0 评论 167 浏览 评分:0.0