不一样的解法,不是取余(c语言代码) 摘要:```c #include #include int main() { for (int i = 95860; i …… 题解列表 2024年08月20日 0 点赞 0 评论 606 浏览 评分:9.9
常规解法(c语言代码) 摘要:```c #include int main(){ int n; scanf("%d",&n); int i=1,sum=0,count=0; while…… 题解列表 2024年08月20日 0 点赞 0 评论 333 浏览 评分:9.9
题解 3003: 鸡兔同笼问题 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<(4*…… 题解列表 2024年08月21日 0 点赞 0 评论 372 浏览 评分:9.9
题解 3003: 鸡兔同笼问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a; cin>>a; pr…… 题解列表 2024年08月21日 0 点赞 0 评论 490 浏览 评分:9.9
题解 2765: 计算分数的浮点数值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b; cin>>a>>b; …… 题解列表 2024年08月21日 0 点赞 0 评论 627 浏览 评分:9.9
题解 2767: 计算多项式的值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; p…… 题解列表 2024年08月21日 0 点赞 0 评论 534 浏览 评分:9.9
链表c语言纯享版 摘要:```c #include #include #include // 定义链表节点结构体 typedef struct node { int data; …… 题解列表 2024年08月21日 0 点赞 0 评论 414 浏览 评分:9.9
1075: 台球碰撞(python) 摘要:核心:边界碰撞之后如何计算——分开算,用两while循环代码:from math import * while True: L, W, x, y, r, a, v, s = map(int…… 题解列表 2024年08月21日 0 点赞 0 评论 256 浏览 评分:9.9
见鬼了,哪位大佬帮我看看代码,求求了。 摘要:```c #include #include #define MAX 101 int bf(char *num,char *num1){ int i=0,j=0; whil…… 题解列表 2024年08月21日 1 点赞 0 评论 243 浏览 评分:9.9
暴力拆解 分解质因数 直接算出最小的质因数 摘要:解题思路:某数已知是两个质数的乘积,这里设为n大质数设为b;小指数设为a根号下n一定大于较小的质数a(可数学验证),以此解决计算时间超时的问题参考代码:int n;scanf("%d",&n);int…… 题解列表 2024年08月21日 0 点赞 0 评论 364 浏览 评分:9.9