简单的a+b (C语言代码)(对~字符的一些解释) 摘要:解题思路: 难点也就在于多次输入,也就是写个循环,还有循环终止的条件 ```c #include int main() { int a,b; while(~scanf("…… 题解列表 2023年07月08日 1 点赞 0 评论 349 浏览 评分:10.0
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,n ; cin>>a>>n; …… 题解列表 2023年07月08日 0 点赞 0 评论 260 浏览 评分:0.0
整数的个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,a,one=0,five=0,ten=0…… 题解列表 2023年07月08日 0 点赞 0 评论 272 浏览 评分:9.9
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,a,one=0,five=0,ten=0…… 题解列表 2023年07月08日 0 点赞 0 评论 444 浏览 评分:0.0
百钱白鸡最简单方法 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ printf("cock=0,hen=25,chicken=75\n…… 题解列表 2023年07月08日 0 点赞 0 评论 457 浏览 评分:0.0
题解 2801: 奇数求和 摘要:计算非负整数 m 到 n(包括m 和 n )之间的所有奇数的和,其中,m 不大于n,且n 不大于300。例如 m=3, n=12, 其和则为:3+5+7+9+11=35。解题思路:先思考,如何得到一个…… 题解列表 2023年07月08日 0 点赞 0 评论 497 浏览 评分:9.9
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int m,n ,sum=0; cin>>m>…… 题解列表 2023年07月08日 0 点赞 0 评论 378 浏览 评分:9.9
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int m,n ,sum=0; cin>>m>…… 题解列表 2023年07月08日 0 点赞 0 评论 211 浏览 评分:0.0
2873: 字符串p型编码 摘要:解题思路: 遍历遍历过程中,判断当前字符str[i]是否与下一个字符str[i + 1]相同。如果相同,表示当前字符连续出现,将计数器count加1。如果不相同,表示当前字符不再连续出现,将当前计数值…… 题解列表 2023年07月08日 0 点赞 0 评论 359 浏览 评分:2.0
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int gg=0,ss=0,bb=0,g,s,b,n…… 题解列表 2023年07月08日 0 点赞 0 评论 292 浏览 评分:0.0