1025:数组插入处理 摘要:解题思路:这题的思路挺简单的哈。咱有个已经按顺序排好的 9 个元素的数组,然后会输入一个数。就从数组开头开始,一个个和输入的数比,要是这数比正在比的元素小,那这就是要插的位置了,把索引记录下来,要是比…… 题解列表 2024年12月24日 7 点赞 0 评论 1327 浏览 评分:10.0
人类思维与机器思维的对比 摘要:解题思路:多学数学吧注意事项:参考代码://尼科彻斯定理 //机器思维 #include<stdio.h> #include<math.h> #include<string.h> void …… 题解列表 2024年11月17日 2 点赞 0 评论 451 浏览 评分:0.0
哥德巴赫曾猜测 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int fun(int n) { if (n == 1) { return 0; } for (int…… 题解列表 2024年12月02日 2 点赞 1 评论 643 浏览 评分:9.9
有点懵,搞不清楚二维和一维使用 摘要:解题思路:注意事项:参考代码#include<iostream>using namespace std;int n, m;int a[5010], b[5010], dp[5010];int main…… 题解列表 2024年12月29日 1 点赞 0 评论 394 浏览 评分:10.0
两种方法 兔子 摘要:#include<stdio.h> int main(void) { int a = 1, b = 1, c; int i, n; scanf("%d", &n); …… 题解列表 2024年12月29日 0 点赞 0 评论 360 浏览 评分:0.0
这题是真简单啊 摘要:#include<stdio.h> int main(void) { int n, a, now = 0; scanf("%d %d", &a, &n); int i…… 题解列表 2024年12月29日 0 点赞 0 评论 470 浏览 评分:0.0
无敌很寂寞啊 摘要:#include<stdio.h> int main(void) { int i; int a, b; for(i = 1000; i <= 10000; i++) …… 题解列表 2024年12月29日 0 点赞 0 评论 338 浏览 评分:0.0
本蒟蒻来写题解 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<unordered_map>#include<string>#include<climits> // 用于 CHAR…… 题解列表 2024年12月29日 0 点赞 0 评论 415 浏览 评分:0.0
简单的递归 摘要:#include<stdio.h> int ans(int n); int main(void) { int n; scanf("%d",&n); printf("…… 题解列表 2024年12月29日 0 点赞 0 评论 615 浏览 评分:0.0
非常ez,随便看懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int m, n; scanf("%d %d", &m, &n); int a[…… 题解列表 2024年12月29日 1 点赞 0 评论 1162 浏览 评分:0.0