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 评论 555 浏览 评分:0.0
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double x; cin >>x; i…… 题解列表 2023年06月17日 0 点赞 0 评论 510 浏览 评分:0.0
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b,c; cin >>…… 题解列表 2023年06月17日 0 点赞 0 评论 449 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%x",&n); printf("%d",n); retur…… 题解列表 2023年06月17日 0 点赞 0 评论 674 浏览 评分:0.0
利润计算,c++求解 ,if,elseif双分支解题 摘要:解题思路:注意事项:可能编译时会显示出错,尝试运行,若还错请将有y(x)函数并入main参考代码:#include<iostream>using namespace std;int y(int x)/…… 题解列表 2023年06月18日 0 点赞 0 评论 694 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct student{ float score[7]; char name[50];};int main(){ struct s…… 题解列表 2023年06月18日 0 点赞 0 评论 511 浏览 评分:0.0
[编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<cmath>int main(){ int num = 0; int tem…… 题解列表 2023年06月18日 0 点赞 0 评论 393 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, i, j; scanf_s("%d", &n); for (i = 0; i < n; i++) …… 题解列表 2023年06月18日 0 点赞 0 评论 634 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char str[301]; fgets(str, size…… 题解列表 2023年06月18日 0 点赞 0 评论 531 浏览 评分:0.0
数据结构-字符串插入 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i; int t=0; int j=0; c…… 题解列表 2023年06月19日 0 点赞 0 评论 638 浏览 评分:0.0