这个不是答案!!!但是这个非常好玩,建议去玩一下,增加兴趣 摘要:解题思路:学到后面突然想起来这道题了注意事项:参考代码:#include <stdio.h>int main() { int a,t,x=0; scanf("%d",&a); while(a!=0){…… 题解列表 2024年11月18日 3 点赞 0 评论 799 浏览 评分:9.9
质因数分解 不用引用math函数,极简 摘要:解题思路:大体思路相同,都是用平方根计算注意事项:参考代码:#include<stdio.h>int main(){ int n,max; scanf("%d",&n); for(i…… 题解列表 2024年11月18日 4 点赞 0 评论 645 浏览 评分:10.0
信息学奥赛一本通T1616-A 的 B 次方 摘要:参考代码:#include <stdio.h> // 快速幂实现 long long int mod_exp(long long int a, long long int b, long long…… 题解列表 2024年11月18日 0 点赞 0 评论 352 浏览 评分:0.0
普普通通的解题方法 摘要:解题思路:注意事项:注意使用 &&参考代码:#include<stdio.h>#include<math.h>int main (){ double x; scanf ("%lf",&x); if (…… 题解列表 2024年11月18日 0 点赞 0 评论 661 浏览 评分:0.0
[编程入门]自由下落的距离计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float i,M,N,c,d; scanf("%f %f",&M,&N); for(i=1;…… 题解列表 2024年11月18日 0 点赞 0 评论 434 浏览 评分:0.0
2059: [STL训练]sort练习 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;bool compare(int a,int b){ …… 题解列表 2024年11月18日 1 点赞 0 评论 518 浏览 评分:0.0
[编程入门]自定义函数之字符串拷贝 摘要:解题思路:题目根本没要求复制,其实也用不着复制,只需要把指针定位到相应序号后输出即可注意事项:参考代码:#include <stdio.h> #include <stdlib.h> int m…… 题解列表 2024年11月18日 0 点赞 0 评论 599 浏览 评分:0.0
编写题解 2918: 成绩排序(sort) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include<algorithm>using namespace std;// 定义学生结构体,包含姓名(字符数组形式,最多容纳…… 题解列表 2024年11月17日 0 点赞 0 评论 750 浏览 评分:0.0
题目有点抽象 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a=0,b=0,c=0,d=0,e=0,f=0; for(i=1;i<=100;i++)…… 题解列表 2024年11月17日 0 点赞 0 评论 509 浏览 评分:10.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int i,a=0,b=0,c=0,d=0; for(i=1000;…… 题解列表 2024年11月17日 0 点赞 0 评论 376 浏览 评分:0.0