[编程入门]自定义函数处理最大公约数与最小公倍 摘要:解题思路:无注意事项:无参考代码:#include<stdio.h>int main(){ int gongyinshu(int,int); int gongbeishu(int,int)…… 题解列表 2022年04月25日 0 点赞 0 评论 339 浏览 评分:0.0
计算素数之和 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int m,n,flag,i,j,sum=0; cin>>…… 题解列表 2022年04月25日 0 点赞 0 评论 333 浏览 评分:0.0
八进制输出 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>#include<iomanip>using namespace std;int main(){…… 题解列表 2022年04月25日 0 点赞 0 评论 336 浏览 评分:0.0
密码破译 [编程入门]密码破译 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ char s[11]; //定义一个长度为10的…… 题解列表 2022年04月25日 0 点赞 0 评论 388 浏览 评分:0.0
1637: 蓝桥杯算法训练VIP-斜率计算 摘要:n,b=map(str,input().split()) x,y=map(str,input().split()) if n==x: print('INF') else…… 题解列表 2022年04月26日 0 点赞 0 评论 379 浏览 评分:0.0
自由下落的距离计算(新手入门) 摘要:解题思路:等比数列求和注意事项:最后的一个s多加了两个h,最后要减去参考代码:#include<stdio.h>int main(){ int m,n,i; float h,s; scanf("%d%…… 题解列表 2022年04月26日 0 点赞 0 评论 327 浏览 评分:0.0
[编程入门]Sn的公式求和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,Sn = 0,i,a = 0; scanf("%d",&n); for(i=0; …… 题解列表 2022年04月26日 0 点赞 0 评论 309 浏览 评分:0.0
C语言训练-数字母 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){char a[100];int i,z=0;gets(a);for(i=0;i…… 题解列表 2022年04月26日 0 点赞 0 评论 311 浏览 评分:0.0
字符串连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){char a[1000],b[100];gets(a);gets(b);put…… 题解列表 2022年04月26日 0 点赞 0 评论 329 浏览 评分:0.0
字符串分类统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){char a[200];int i,z=0,s=0,k=0,q=0;gets(…… 题解列表 2022年04月26日 0 点赞 0 评论 346 浏览 评分:0.0