2518: 信息学奥赛一本通T1620-质因数分解 摘要:解题思路:注意事项:参考代码:import mathdef is_qurt(n): flag = True for i in range(2,int(math.sqrt(n))+1): …… 题解列表 2024年07月31日 0 点赞 0 评论 396 浏览 评分:9.9
C语言解自守数 摘要:解题思路:由自守数的概念可知,数的平方对数的位数求余即尾数。注意事项:最后的输出没有空格参考代码:#include <stdio.h> #include <math.h> int main() …… 题解列表 2024年07月31日 0 点赞 0 评论 333 浏览 评分:0.0
第n小的质数 摘要:解题思路:注意事项:参考代码:import mathn = int(input())flag = Truet = 0for i in range(2,100000): flag = True …… 题解列表 2024年07月31日 0 点赞 0 评论 229 浏览 评分:0.0
编写题解 1809: [编程基础]输入输出练习之精度控制2 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double x; cin >> x; printf(…… 题解列表 2024年07月31日 0 点赞 0 评论 162 浏览 评分:0.0
编写题解 1808: [编程基础]输入输出练习之精度控制1 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a; cin>>a; pr…… 题解列表 2024年07月31日 0 点赞 0 评论 186 浏览 评分:0.0
你跟我说这是入门题? 摘要:解题思路:还是我文心一言牛逼霍,直接复制粘贴就对了注意事项:参考代码:def check_matrix(matrix): n = len(matrix) row_counts = …… 题解列表 2024年07月31日 0 点赞 0 评论 314 浏览 评分:0.0
————派大星的极致运算————————之整数去重复&m 摘要:解题思路://1号数组存放读入数据 //2号数组存放不重复数组 //通过循环遍历进行比较看是否有重复注意事项://无参考代码:#includeint main() { int n; …… 题解列表 2024年07月31日 0 点赞 0 评论 245 浏览 评分:9.9
erase的大作用 摘要:#include<bits/stdc++.h> using namespace std; int main() { int t,i=0; cin>>t; while…… 题解列表 2024年07月31日 0 点赞 0 评论 122 浏览 评分:0.0
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 评论 396 浏览 评分:9.9
独立完成啦兄弟们 摘要:解题思路:除了b1[1:m-1]问文心一言外其他自己写的注意事项:参考代码:m,n=map(int,input().split())b1=[]for i in range(m): l1=list…… 题解列表 2024年07月31日 1 点赞 0 评论 238 浏览 评分:0.0