两种非常简单的法子 摘要:#include<stdio.h> int main(void) { int n; scanf("%d", &n); int a[100]; int i =…… 题解列表 2024年12月28日 1 点赞 0 评论 608 浏览 评分:0.0
选择排序的大材小用(不要学我) 摘要:#include<stdio.h> #include<string.h> int main(void) { char a[3][100], temp[100]; int fl…… 题解列表 2024年12月28日 0 点赞 0 评论 785 浏览 评分:0.0
思路正确简单明了 摘要:解题思路:#include<stdio.h> int main(void) { int a[10]; int i, j; for(i = 0; i < 10; i++…… 题解列表 2024年12月28日 1 点赞 0 评论 1090 浏览 评分:0.0
从后面移动,并保存消失的后面 摘要:解题思路:#include<stdio.h> int main(void) { int i, j, n, a[100], move; scanf("%d", &n); …… 题解列表 2024年12月28日 0 点赞 0 评论 869 浏览 评分:0.0
谁考了第k名 C++ ```cpp#includeusingnamespacestd;//定义学生结构体structStudent{intid;//学号floatscore;//成绩};//自定义比较函数,根据score字段比较学生记录boolcompare(constStudent&a, 题解列表 2024年12月28日 0 点赞 0 评论 558 浏览 评分:0.0
烈焰 燃毁!!! 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; #define mo 1000007 // 定义模数,用于结果取模 int…… 题解列表 2024年12月28日 0 点赞 0 评论 427 浏览 评分:0.0
一定要细心啊(不难) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(void) { int n; printf("Please enter the number…… 题解列表 2024年12月28日 1 点赞 0 评论 581 浏览 评分:0.0
real_count经典命名 摘要:#include<stdio.h> int main(void) { int n; scanf("%d", &n); int flag[100] = {0}; …… 题解列表 2024年12月28日 0 点赞 0 评论 534 浏览 评分:0.0
自由下落计算 摘要:解题思路:1. luodi 函数:- 首先处理了 n 为 1 和 2 的特殊情况,直接返回相应的计算结果。- 对于 n > 2 的情况,先计算出 luodi(m, n - 1) 和 …… 题解列表 2024年12月28日 0 点赞 0 评论 1252 浏览 评分:0.0
2801: 奇数求和题解 摘要:解题思路:注意事项:#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){ int n,m;cin…… 题解列表 2024年12月29日 0 点赞 0 评论 684 浏览 评分:0.0