自定义函数之数字后移 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void yd(int a[],int m,int n){ int i,b[n]; for(i=0;i<n;i++) …… 题解列表 2023年11月26日 0 点赞 0 评论 259 浏览 评分:0.0
reverse倒序列表 摘要:解题思路:注意事项:参考代码:n=int(input())nums=list(map(int,input().split())) nums.reverse()for i in nums: pr…… 题解列表 2023年11月26日 0 点赞 0 评论 818 浏览 评分:9.9
2752 整型数据类型存储空间大小(C++) 摘要:解题思路:使用sizeof 函数注意事项:无参考代码:#include<bits/stdc++.h>using namespace std;int main(){ cout<<sizeof(int…… 题解列表 2023年11月26日 0 点赞 0 评论 452 浏览 评分:9.9
2753: 浮点型数据类型存储空间大小 摘要:解题思路:使用 sizeof 函数注意事项:请自由参考参考代码:#include<bits/stdc++.h>using namespace std;int main(){ cout<<sizeo…… 题解列表 2023年11月26日 0 点赞 0 评论 297 浏览 评分:9.9
鸡兔同笼(注意全为兔,或全为鸡的情况,用循环遍历出结果) 摘要:参考代码: ```c #include #define sum 80 int main() { int s; scanf("%d",&s); int x,y;//y是鸡,x是兔 …… 题解列表 2023年11月26日 0 点赞 0 评论 291 浏览 评分:0.0
编写题解 2749: Hello, World! 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ cout<<"Hello, World!";}…… 题解列表 2023年11月26日 0 点赞 0 评论 243 浏览 评分:0.0
字符串的修改(python) 摘要:解题思路:注意事项:参考代码:def min_edit_distance(A, B): m, n = len(A), len(B) # 创建一个二维数组来记录状态 dp = …… 题解列表 2023年11月26日 0 点赞 0 评论 366 浏览 评分:0.0
字符类型统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100]={0}; int zimu=0,shuz…… 题解列表 2023年11月26日 0 点赞 0 评论 249 浏览 评分:0.0
2754: 其他基本数据类型存储空间大小 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ cout <<sizeof(bool)<<" "<<sizeo…… 题解列表 2023年11月26日 0 点赞 0 评论 451 浏览 评分:9.9
C语言--for循环 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,j,a[3][3],b=0,c=0; for(i=0;i<3;i++) { …… 题解列表 2023年11月26日 0 点赞 0 评论 265 浏览 评分:0.0