[编程入门]自定义函数之数字后移 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std; int main(){ int n,k,i,m; cin>>n; int a[n…… 题解列表 2022年02月03日 0 点赞 0 评论 167 浏览 评分:0.0
1046: [编程入门]自定义函数之数字后移 摘要:解题思路:注意事项:参考代码:n = int(input())lis = list(map(int, input().split()))m = int(input())for i in range(m…… 题解列表 2022年02月22日 0 点赞 0 评论 129 浏览 评分:0.0
最笨却最锻炼脑力的方法 摘要:解题思路:最顺理成章地思路,就是费时间。正常打出题目要求格式后n-m个数需要提前拷贝前m个数后移m位将前面保存的n-m个数放到前n-m的位置上(期间涉及-1的部分需要多注意)注意事项:中间有一个环节考…… 题解列表 2022年02月22日 1 点赞 0 评论 201 浏览 评分:0.0
自定义函数之数字后移----最简单 摘要:解题思路:注意事项:参考代码:a=int(input())b=list(map(int,input().split()))c=int(input())d=[]for i in range(c): …… 题解列表 2022年03月03日 0 点赞 0 评论 209 浏览 评分:0.0
编写题解 1046: [编程入门]自定义函数之数字后移 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[20],b[20]; int n,m; …… 题解列表 2022年03月13日 0 点赞 0 评论 193 浏览 评分:0.0
[编程入门]自定义函数之数字后移-题解(C语言) 摘要:```c #include void change(int arr[],int n,int num); int main() { int num,i,n; int a[100];…… 题解列表 2022年03月21日 0 点赞 0 评论 207 浏览 评分:0.0
自定义函数之数字后移 较易理解 摘要:解题思路:注意事项:参考代码:import java.util.*;public class Main { public static void main(String[] args) { …… 题解列表 2022年03月30日 0 点赞 0 评论 165 浏览 评分:0.0
最简三元符 C语言 摘要:这题一看就让我想到了三元符,昨天晚上调了半天不太对,重新捋了一下就过了哈哈。 昨晚给我调bug调自闭了,看了别人的答案还是不死心,还是试出来了。哈哈。有自己的思想就不要放弃。 #i…… 题解列表 2022年04月02日 0 点赞 0 评论 284 浏览 评分:0.0
自定义函数之数字后移 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a[1001]; int b[1001]; int i,n,m; scanf("%d",&n); fo…… 题解列表 2022年04月12日 0 点赞 0 评论 188 浏览 评分:0.0
应该不会要这么多for循环,但不失为一种直肠子的解法 摘要:解题思路:注意事项:参考代码:n = int(input())list_m = list(map(int,input().strip().split()))m = int(input())other …… 题解列表 2022年04月15日 0 点赞 0 评论 191 浏览 评分:0.0