1164: 数组的距离 ```c++#includeintmain(){int*p=nullptr;int*q=nullptr;intm,n;cin>>n>>m;p=newint[n];q=newint[m];for(inti=0;i>p[i];}for(intj=0;j>q[ 题解列表 2023年06月17日 0 点赞 0 评论 553 浏览 评分:0.0
编写题解 2794: 求平均年龄 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n ; int sum=0 ; …… 题解列表 2023年06月17日 0 点赞 0 评论 807 浏览 评分:6.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int sum_appro(int x){ int sum = 0,i; for (i = 1; i <= x/2; i++…… 题解列表 2023年06月17日 0 点赞 0 评论 624 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[201]; gets(str); str…… 题解列表 2023年06月17日 0 点赞 0 评论 435 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>struct book{ int id; char name[26];};int mai…… 题解列表 2023年06月16日 0 点赞 0 评论 460 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,t; double a, b,c; scanf("%lf %lf %d", &…… 题解列表 2023年06月16日 0 点赞 0 评论 609 浏览 评分:6.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int f(int x){ int f1=1,f2=2,i,f3; if (x == 1) return f1…… 题解列表 2023年06月16日 0 点赞 0 评论 810 浏览 评分:8.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>struct people{ char sex[7]; …… 题解列表 2023年06月16日 0 点赞 0 评论 499 浏览 评分:9.9
2899: 蛇形填充数组 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args…… 题解列表 2023年06月15日 0 点赞 0 评论 524 浏览 评分:0.0
单词排序(Java) 摘要:解题思路:先以空格分隔字符串,转为数组,接着去除多余空格,排序·然后去除重复单词注意事项:一直通过不了但没找出问题,求助!!!参考代码:import java.util.Arrays;import j…… 题解列表 2023年06月15日 0 点赞 0 评论 718 浏览 评分:2.0