[编程入门]自定义函数之数字后移 摘要:解题思路:一种思路是向后移动,把最后一个数字备份,移动完num_number - 1次后把最后一个数赋值给第一个总共移动move_number次注意 if(move_numb…… 题解列表 2025年11月06日 1 点赞 0 评论 140 浏览 评分:10.0
求整数的和与均值 摘要:解题思路:注意事项:参考代码:total = 0arr = list(map(int,input().split()))if len(arr) != 1: for i in …… 题解列表 2025年11月06日 1 点赞 0 评论 147 浏览 评分:10.0
T1244-和为给定数 摘要:#include<stdio.h>int main(){ int arr[100001]={0}; int n,m; int x; scanf("%d",&n)…… 题解列表 2025年11月05日 0 点赞 0 评论 107 浏览 评分:0.0
T1244-和为给定数 摘要:#include<stdio.h>int main(){ int arr[100001]={0}; int n;  …… 题解列表 2025年11月05日 0 点赞 0 评论 95 浏览 评分:0.0
C++:ctrl c ctrl v 摘要:解题思路:1注意事项:2参考代码:#include<iostream>using namespace std;int main(){ int a,b,c;&nbs…… 题解列表 2025年11月05日 0 点赞 0 评论 207 浏览 评分:0.0
CCCCCCCCCCCCCCCCCCCCCCCC++++++++++++++++++++++++++++++++++ 摘要:解题思路:1注意事项:2参考代码:#include<iostream>using namespace std;int main(){ int a,b,c;&nbs…… 题解列表 2025年11月05日 0 点赞 0 评论 180 浏览 评分:0.0
简单易懂小代码,两个循环解决问题 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int h, w; char str1[] = {'…… 题解列表 2025年11月05日 4 点赞 0 评论 235 浏览 评分:10.0
二分法求函数的零点 摘要:#include<stdio.h>#include<math.h>double target = 1e-7;double f(double x){ r…… 题解列表 2025年11月05日 0 点赞 0 评论 108 浏览 评分:0.0
Py2761-Hello, World!的大小 摘要:解题思路:注意事项:参考代码:fromctypesimport*a=create_string_buffer(b"Hello,…… 题解列表 2025年11月05日 0 点赞 0 评论 69 浏览 评分:0.0
Py2796-输入输出练习之浮点数专题 摘要:解题思路:注意事项:参考代码:n=float(input())print(f'{n:f}\n{n:.5f}\n{n:e}\n{n:g}')…… 题解列表 2025年11月05日 0 点赞 0 评论 106 浏览 评分:0.0