感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int m,n ,sum=0; cin>>m>…… 题解列表 2023年07月08日 0 点赞 0 评论 391 浏览 评分:9.9
题解 2801: 奇数求和 摘要:计算非负整数 m 到 n(包括m 和 n )之间的所有奇数的和,其中,m 不大于n,且n 不大于300。例如 m=3, n=12, 其和则为:3+5+7+9+11=35。解题思路:先思考,如何得到一个…… 题解列表 2023年07月08日 0 点赞 0 评论 522 浏览 评分:9.9
百钱白鸡最简单方法 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ printf("cock=0,hen=25,chicken=75\n…… 题解列表 2023年07月08日 0 点赞 0 评论 479 浏览 评分: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 评论 458 浏览 评分: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 评论 289 浏览 评分:9.9
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,n ; cin>>a>>n; …… 题解列表 2023年07月08日 0 点赞 0 评论 278 浏览 评分:0.0
简单的a+b (C语言代码)(对~字符的一些解释) 摘要:解题思路: 难点也就在于多次输入,也就是写个循环,还有循环终止的条件 ```c #include int main() { int a,b; while(~scanf("…… 题解列表 2023年07月08日 1 点赞 0 评论 368 浏览 评分:10.0
三目运算符闰年判断 摘要:代码:#include <stdio.h>#define LEAP_YEAR(y) (y%400 ==0 ? printf("L") : ((y%4 ==0 && y%100 != 0) ? prin…… 题解列表 2023年07月08日 0 点赞 0 评论 297 浏览 评分:0.0
人口增长问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double x; int n; cin…… 题解列表 2023年07月08日 0 点赞 0 评论 435 浏览 评分:6.0
2814: 正常血压(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int a[n][2]; int i,j; for(i=0;i<n…… 题解列表 2023年07月08日 0 点赞 0 评论 427 浏览 评分:9.9