高精度乘法,vector, 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<vector>using namespace std;vector<int> mul(const vector<in…… 题解列表 2023年09月21日 0 点赞 0 评论 184 浏览 评分:0.0
石头剪子布(不难,就是麻烦) 摘要:解题关键: strcmp() 字符串比较函数 头文件为#include strcmp(s1,s2) 若s1==s2,则返回0 若s1>s2,则返回大于0的值 若s1…… 题解列表 2023年09月21日 0 点赞 0 评论 322 浏览 评分:0.0
基因相关性(不知道为什么用gets,还是fgets,都通过不了,有没有大佬来说一下) 摘要:参考代码: ```c #include #include #define MAX 500 int main() { double c; scanf("%lf",&c); get…… 题解列表 2023年09月21日 0 点赞 0 评论 268 浏览 评分:0.0
两个数组解决 摘要:解题思路:两个数组+冒泡排序 ```cpp #include using namespace std; int main() { int i,n,m; cin>>…… 题解列表 2023年09月21日 0 点赞 0 评论 248 浏览 评分:0.0
2917: 奇数单增序列 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; int b[10000]; int c[10000]; int mai…… 题解列表 2023年09月20日 0 点赞 0 评论 230 浏览 评分:9.9
2909: 直方图 摘要:解题思路:一:使用排序, 注意:10行的判断格式;1.int b[100000]; 2.int main() { 3. int a; 4. cin>>a; 5. for(int i=1; i<…… 题解列表 2023年09月20日 0 点赞 0 评论 193 浏览 评分:6.0
2849: 石头剪子布(C语言) 摘要: #include #include//主函数中使用了strcmp函数 int main() { int N; scanf("%d",&N); for(int i=0;i…… 题解列表 2023年09月20日 0 点赞 0 评论 386 浏览 评分:0.0
高精度加法,vector 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<vector>using namespace std;const int n = 1e6 + 10;vector<i…… 题解列表 2023年09月20日 0 点赞 0 评论 247 浏览 评分:0.0
1023: [编程入门]选择排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10],i,j,t; for(i=0;i<10;i++) scanf("%d",&a[i]); fo…… 题解列表 2023年09月20日 0 点赞 0 评论 235 浏览 评分:0.0
二级C语言-阶乘公式求值java 摘要: import java.util.Scanner; public class Main { public static void main(String[] args) { S…… 题解列表 2023年09月20日 0 点赞 0 评论 305 浏览 评分:0.0