不重复的输出数(新手题解) 摘要:解题思路:记录数组中的最大值,记录每个数字的出现次数,输出时从1到最大值遍历,次数大于0则输出注意事项:参考代码:#include<stdio.h>int c[99999]={0},d[99999];…… 题解列表 2023年05月17日 0 点赞 0 评论 420 浏览 评分: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 评论 338 浏览 评分:0.0
简单计算机器实现 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b; char c; cin>…… 题解列表 2023年05月17日 0 点赞 0 评论 264 浏览 评分:0.0
双层循环,冒泡排序,然后减去等于d 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h> int main() { int i,j,k; int temp; int …… 题解列表 2023年05月17日 0 点赞 0 评论 315 浏览 评分:0.0
[编程入门]矩阵对角线求和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a[3][3]; for(int i=0…… 题解列表 2023年05月17日 0 点赞 0 评论 292 浏览 评分:0.0
2876: 矩阵交换行 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args…… 题解列表 2023年05月17日 1 点赞 0 评论 359 浏览 评分:0.0
[编程入门]自定义函数之字符类型统计 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;void count(string s){ int a=s.size(); …… 题解列表 2023年05月17日 0 点赞 0 评论 254 浏览 评分:0.0
[编程入门]实数的打印 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double a; cin>>a; for…… 题解列表 2023年05月17日 0 点赞 0 评论 350 浏览 评分:0.0
1022筛选N以内的素数 摘要:解题思路:注意事项:参考代码:h=int(input())for i in range(2,h+1): for m in range(2,i): if i%m==0: …… 题解列表 2023年05月18日 0 点赞 0 评论 324 浏览 评分:0.0
题目 1000: [竞赛入门]简单的a+b解答 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b) cou…… 题解列表 2023年05月18日 0 点赞 0 评论 324 浏览 评分:0.0