2753: 浮点型数据类型存储空间大小 题解 摘要:解题思路:遵照题意即可参考代码:#include<bits/stdc++.h> using namespace std; int main() { float a; doub…… 题解列表 2023年01月07日 0 点赞 0 评论 555 浏览 评分:9.9
求1+2+3+...+n的值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n; long long s=0; scanf("%d",&n); …… 题解列表 2023年01月07日 0 点赞 0 评论 443 浏览 评分:9.9
编写题解 1387: 陈教主的三角形 摘要:解题思路:注意事项:参考代码://行测试数据,每行包含两个整数a和b(0<a,b<=100),表示长方形的长和宽。当a和b同时为0时,表示输入结束 #include<stdio.h> int ma…… 题解列表 2023年01月07日 0 点赞 0 评论 393 浏览 评分:9.9
[编程入门]自定义函数之数字后移 摘要:参考代码:#include<stdio.h>int main(){ int b[100],a[100],i,n,j; scanf("%d",&n); for(i=0;i<n;i++)scanf("%d…… 题解列表 2023年01月07日 0 点赞 0 评论 450 浏览 评分:9.9
直接数学方法进行计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double a,b,n,r,p,m,q; scanf("%lf %lf %lf…… 题解列表 2023年01月07日 1 点赞 0 评论 560 浏览 评分:9.9
2906: 笨小猴 摘要:```cpp #include #include #include #include using namespace std; bool ZS(int n) { if(nn; …… 题解列表 2023年01月08日 0 点赞 0 评论 608 浏览 评分:9.9
3001: 整数的和 摘要:```cpp #include using namespace std; int main() { int a,b,c; cin>>a>>b>>c; cout…… 题解列表 2023年01月08日 0 点赞 0 评论 551 浏览 评分:9.9
[编程入门]电报加密 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ char s[100]; gets(s); for(int i=0;s[i];i++){ if(s[i]>=…… 题解列表 2023年01月08日 0 点赞 1 评论 265 浏览 评分:9.9
(笨方法)三个数字的排序 摘要:#include int main(){ int a,b,c,t; scanf("%d%d%d",&a,&b,&c); if(a>b){ t=a;a=b;b=t; } …… 题解列表 2023年01月08日 0 点赞 0 评论 290 浏览 评分:9.9
[编程入门]三个字符串的排序 摘要:解题思路:笨方法,和三个数排序地思路差不多。注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char t[100],a[100],…… 题解列表 2023年01月08日 0 点赞 0 评论 292 浏览 评分:9.9