题目 1172: 计算两点间的距离解答 摘要:解题思路:(x1-x2)^2+(y1-y2)^2=d^2注意事项:参考代码:#include<iostream>#include<cstdio>#include<cmath>using namespa…… 题解列表 2023年05月17日 0 点赞 0 评论 166 浏览 评分:0.0
利用指针修改相应的地址实现字符逆序 摘要:#include <stdio.h>#include <string.h>void interchange(char *i,char *j);int main(){ char str[100];…… 题解列表 2023年05月17日 0 点赞 0 评论 167 浏览 评分:0.0
不重复的输出数(新手题解) 摘要:解题思路:记录数组中的最大值,记录每个数字的出现次数,输出时从1到最大值遍历,次数大于0则输出注意事项:参考代码:#include<stdio.h>int c[99999]={0},d[99999];…… 题解列表 2023年05月17日 0 点赞 0 评论 265 浏览 评分:0.0
枚举法 列出所有的可能 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c,d,e,f; for(a=0…… 题解列表 2023年05月17日 0 点赞 0 评论 211 浏览 评分:0.0
简单计算机器实现 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b; char c; cin>…… 题解列表 2023年05月17日 0 点赞 0 评论 152 浏览 评分:0.0
双层循环,冒泡排序,然后减去等于d 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h> int main() { int i,j,k; int temp; int …… 题解列表 2023年05月17日 0 点赞 0 评论 182 浏览 评分:0.0
[编程入门]矩阵对角线求和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a[3][3]; for(int i=0…… 题解列表 2023年05月17日 0 点赞 0 评论 169 浏览 评分:0.0
2876: 矩阵交换行 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args…… 题解列表 2023年05月17日 1 点赞 0 评论 239 浏览 评分:0.0
[编程入门]自定义函数之字符类型统计 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;void count(string s){ int a=s.size(); …… 题解列表 2023年05月17日 0 点赞 0 评论 153 浏览 评分:0.0
[编程入门]实数的打印 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double a; cin>>a; for…… 题解列表 2023年05月17日 0 点赞 0 评论 229 浏览 评分:0.0