从后面移动,并保存消失的后面 摘要:解题思路:#include<stdio.h> int main(void) { int i, j, n, a[100], move; scanf("%d", &n); …… 题解列表 2024年12月28日 0 点赞 0 评论 583 浏览 评分:0.0
简单易懂 给个赞 嘻嘻 摘要:解题思路:很简单注意事项:注意考虑周到参考代码:#include<stdio.h>#define N 10000void text(int * a , int n1 , int n2){&…… 题解列表 2025年01月09日 5 点赞 0 评论 834 浏览 评分:10.0
通过定义多个动态数组容器,连续使用for轮询取出元素放到新的数组容器中 摘要:解题思路:通过定义多个动态数组容器,连续使用for轮询取出元素放到新的数组容器中注意事项:务必要清楚如何使用容器参考代码:#include<bits/stdc++.h>using name…… 题解列表 2025年04月09日 1 点赞 0 评论 421 浏览 评分:10.0
自定义函数之字符串反转 摘要:解题思路:这道题可以使用数组或者链表来做,我采用的循环链表的方式注意事项:参考代码:typedef struct LinkT{ int num; s…… 题解列表 2025年09月08日 0 点赞 0 评论 174 浏览 评分:0.0
自定义函数之数字后移 摘要:解题思路:注意事项:参考代码:n=int(input())arr=list(map(int,input().split()))a&n…… 题解列表 2025年10月05日 0 点赞 0 评论 141 浏览 评分:0.0
1046:使用万能头文件+指针,简单易懂 摘要:```cpp#include //使用万能头文件,竞赛用着快,写平常的程序不要用using namesapce std;void RemoveArray(int a[],int* b,in…… 题解列表 2025年10月25日 1 点赞 0 评论 153 浏览 评分:0.0
[编程入门]自定义函数之数字后移 摘要:解题思路:一种思路是向后移动,把最后一个数字备份,移动完num_number - 1次后把最后一个数赋值给第一个总共移动move_number次注意 if(move_numb…… 题解列表 2025年11月06日 1 点赞 0 评论 133 浏览 评分:10.0