你跟我说这是入门题? 摘要:解题思路:还是我文心一言牛逼霍,直接复制粘贴就对了注意事项:参考代码:def check_matrix(matrix): n = len(matrix) row_counts = …… 题解列表 2024年07月31日 0 点赞 0 评论 353 浏览 评分:6.0
————派大星的极致运算————————之整数去重复&m 摘要:解题思路://1号数组存放读入数据 //2号数组存放不重复数组 //通过循环遍历进行比较看是否有重复注意事项://无参考代码:#includeint main() { int n; …… 题解列表 2024年07月31日 0 点赞 0 评论 266 浏览 评分:9.9
erase的大作用 摘要:#include<bits/stdc++.h> using namespace std; int main() { int t,i=0; cin>>t; while…… 题解列表 2024年07月31日 0 点赞 0 评论 147 浏览 评分: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 评论 443 浏览 评分: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 评论 267 浏览 评分:0.0
贼好用的erase,长也要记住 摘要:#include<bits/stdc++.h> using namespace std; int main() { string str; char t; cin>…… 题解列表 2024年07月31日 0 点赞 0 评论 119 浏览 评分:0.0
数据结构-有序线性表的有序合并(C语言,只用30行) 摘要:```c #include #include int link(int a[],int n); int link(int a[],int n){//该函数是用来将数组数据存入的 …… 题解列表 2024年07月31日 0 点赞 0 评论 529 浏览 评分:9.9
感谢题解的启发,想了半天了都 摘要:解题思路:注意事项:参考代码:n,i,j=map(int,input().split())for q in range(1,n+1): print(f"({i},{q})",end=" ")pr…… 题解列表 2024年07月31日 0 点赞 0 评论 493 浏览 评分:0.0
结构清晰明了 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>typedef struct{ char id[20]; char name[20]…… 题解列表 2024年07月31日 0 点赞 0 评论 192 浏览 评分:0.0
题解 2833: 金币 摘要:解题思路:注意事项:参考代码:n = int(input())s = 0m = 0d = 0while True: m +=1 s += m*m d += m if d >= …… 题解列表 2024年07月31日 0 点赞 0 评论 434 浏览 评分:0.0