1673: 数据结构-集合union(结构体数组解决) 摘要:本题需要看清楚题目给的输入和输出。 题目的输入为 **5 1 5 2 6 3 3 1 7 9 1 3 2 2 7 4 2 5 1 4 4 1 2 4 5** 输出为 **1 5 2 …… 题解列表 2024年07月31日 0 点赞 0 评论 466 浏览 评分:9.9
erase的大作用 摘要:#include<bits/stdc++.h> using namespace std; int main() { int t,i=0; cin>>t; while…… 题解列表 2024年07月31日 0 点赞 0 评论 174 浏览 评分:0.0
————派大星的极致运算————————之整数去重复&m 摘要:解题思路://1号数组存放读入数据 //2号数组存放不重复数组 //通过循环遍历进行比较看是否有重复注意事项://无参考代码:#includeint main() { int n; …… 题解列表 2024年07月31日 0 点赞 0 评论 288 浏览 评分:9.9
你跟我说这是入门题? 摘要:解题思路:还是我文心一言牛逼霍,直接复制粘贴就对了注意事项:参考代码:def check_matrix(matrix): n = len(matrix) row_counts = …… 题解列表 2024年07月31日 0 点赞 0 评论 379 浏览 评分:6.0
编写题解 1808: [编程基础]输入输出练习之精度控制1 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a; cin>>a; pr…… 题解列表 2024年07月31日 0 点赞 0 评论 241 浏览 评分:0.0
编写题解 1809: [编程基础]输入输出练习之精度控制2 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double x; cin >> x; printf(…… 题解列表 2024年07月31日 0 点赞 0 评论 205 浏览 评分:0.0
第n小的质数 摘要:解题思路:注意事项:参考代码:import mathn = int(input())flag = Truet = 0for i in range(2,100000): flag = True …… 题解列表 2024年07月31日 0 点赞 0 评论 271 浏览 评分:0.0
C语言解自守数 摘要:解题思路:由自守数的概念可知,数的平方对数的位数求余即尾数。注意事项:最后的输出没有空格参考代码:#include <stdio.h> #include <math.h> int main() …… 题解列表 2024年07月31日 0 点赞 0 评论 382 浏览 评分:0.0
2518: 信息学奥赛一本通T1620-质因数分解 摘要:解题思路:注意事项:参考代码:import mathdef is_qurt(n): flag = True for i in range(2,int(math.sqrt(n))+1): …… 题解列表 2024年07月31日 0 点赞 0 评论 459 浏览 评分:9.9
2836: 数组逆序重放 摘要:解题思路:注意事项:参考代码:n = int(input())l = list(input().split())l = l[::-1]print(" ".join(l))…… 题解列表 2024年07月31日 0 点赞 0 评论 604 浏览 评分:0.0