2880: 计算鞍点 摘要:``` #include using namespace std; int a[6][6]; int main() { int n = 5; for (int i = 1;…… 题解列表 2023年12月29日 0 点赞 0 评论 240 浏览 评分:9.9
2913: 整数去重 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N=20010;int a[N];int main() { …… 题解列表 2023年12月29日 0 点赞 0 评论 256 浏览 评分:0.0
约瑟夫环求解 摘要:解题思路:注意事项:参考代码:n = int(input())a = 0b = 0j = -1l = []for i in range(0, n): a += 1 l.append(a)w…… 题解列表 2023年12月29日 0 点赞 0 评论 218 浏览 评分:0.0
c代码记录之结构体成绩记录--函数传参 摘要: #include struct Student{ char xuehao[30],name[30]; int a,b,c; }; …… 题解列表 2023年12月29日 0 点赞 0 评论 177 浏览 评分:0.0
c代码记录之结构体时间设计 摘要: #include struct Time{ int year,month,day; }_time; int main(){ s…… 题解列表 2023年12月29日 0 点赞 0 评论 171 浏览 评分:0.0
c代码记录之结构体成绩统计 摘要:第一次练习结构体,略显生涩 #include struct student{ char xuehao[10],name[10]; int a,b…… 题解列表 2023年12月29日 0 点赞 0 评论 229 浏览 评分:0.0
我趣,这题直接输出也对 摘要:解题思路:无注意事项:无参考代码:#include <stdio.h>int main(){int date; date=200; printf("%d\n",date); retu…… 题解列表 2023年12月28日 0 点赞 0 评论 404 浏览 评分:9.9
全排列(递归) 摘要:解题思路:在第0位选取一个字母, 依次遍历字符串每个字符,如果被选过,不要再选, 递归到下一位; 如果当前位已经达到字符串长度, 输出选中的字符注意事项: 字符串索引从0开始, 注意边界; 另外, …… 题解列表 2023年12月28日 0 点赞 0 评论 575 浏览 评分:9.9
3029: 逆波兰表达式 摘要:解题思路:使用栈, 遇到数字入数字栈, 遇到操作符, 在操作符栈不为空,并且数字栈的长度大于等于2时,出栈计算,结果入栈注意事项: 最后在操作符不为空时,循环出栈计算参考代码:#include<ios…… 题解列表 2023年12月28日 0 点赞 0 评论 417 浏览 评分:9.9
图像相似度 摘要:解题思路:注意事项:参考代码:h,l=map(int,input().split())ls1=[]ls2=[]for i in range(h): ls1.append(list(map(int…… 题解列表 2023年12月28日 0 点赞 0 评论 162 浏览 评分:0.0