3077: 信息学奥赛一本通T1332-周末舞会 摘要:参考代码: ```cpp #include using namespace std; vectorcouples; int men, women; int n; queueq_men, …… 题解列表 2022年12月21日 0 点赞 0 评论 772 浏览 评分:7.3
2759:格式输入-C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i; scanf("%d",&i); printf("%c",i); }…… 题解列表 2022年12月22日 0 点赞 0 评论 912 浏览 评分:7.3
利用vector容器来实现字符串的排序效果 摘要:解题思路:利用vector容器及内置的排序算法来进行实现注意事项:头文件的添加和vector容器及其函数的写法参考代码:#include<iostream> #include<cstring> #…… 题解列表 2022年12月23日 0 点赞 0 评论 341 浏览 评分:7.3
2899: 蛇形填充数组 摘要:解题思路:分情况讨论注意事项:循环数参考代码:#include <stdio.h>int main(){//用数字1,2,3,4,...,n*n这n2个数蛇形填充规模为n*n的方阵。//蛇形填充方法为…… 题解列表 2022年12月31日 0 点赞 0 评论 587 浏览 评分:7.3
1464: 蓝桥杯基础练习VIP-分解质因数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int asd(int n) //判断素数 { int k =(int) (sqrt(n)…… 题解列表 2023年01月02日 0 点赞 0 评论 318 浏览 评分:7.3
1099: 校门外的树 摘要:解题思路:注意事项:参考代码:L,M=map(int,input().split(" "))T=[1 for i in range(L+1)]for i in range(M): x=input(…… 题解列表 2023年01月05日 1 点赞 0 评论 299 浏览 评分:7.3
C语言—— Vigenère密码 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int c[1001]={0},d[101]={0},i,j,k; …… 题解列表 2023年01月05日 0 点赞 0 评论 577 浏览 评分:7.3
2913: 整数去重 摘要:```cpp #include using namespace std; int main() { int n,a[20001],j=1; cin>>n; for(int i=1;…… 题解列表 2023年01月05日 0 点赞 3 评论 436 浏览 评分:7.3
去 N M 的雇佣兵(题目都看不懂) 摘要:解题思路: 这个题目真的很烦,不看个一两秒钟很难理解首先,我们输入的是M,N,X,分别代表 最大体力,初始战斗力,初始能量元素第二,要知道题目要我们求的是最大战斗力,还有不要理解为他有多…… 题解列表 2023年01月08日 1 点赞 0 评论 911 浏览 评分:7.3
3006: 适合晨练 摘要:```cpp #include using namespace std; int main() { int t; cin>>t; cout…… 题解列表 2023年01月08日 0 点赞 1 评论 409 浏览 评分:7.3