最大值和最小值的差 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,a[10000],i; int max; int min; int difference; sc…… 题解列表 2023年02月20日 0 点赞 0 评论 534 浏览 评分:0.0
scanf和gets的混合使用 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[1001]; int n; scanf("%d",&n);//scanf结束回车…… 题解列表 2023年02月21日 0 点赞 0 评论 575 浏览 评分:0.0
买图书的小明 摘要:解题思路:注意事项:参考代码:#includeint main(){ double n,m,s; scanf("%lf %lf",&n,&m); s=n-0.8*m; if(n==10&&m==1) …… 题解列表 2023年02月21日 0 点赞 0 评论 635 浏览 评分:0.0
结构体之成绩记录 摘要:解题思路:用结构体数组来解决问题注意事项:见代码参考代码:#include <stdio.h>typedef struct student{ char id[20]; char name[20]; i…… 题解列表 2023年02月21日 0 点赞 0 评论 444 浏览 评分:0.0
2819: 数字反转(python) 摘要:解题思路:注意事项:参考代码:n = int(input()) if n < 0: print("-",end = "") n = -n n = str(n)[::-1] …… 题解列表 2023年02月21日 0 点赞 0 评论 641 浏览 评分:0.0
学霸的迷宫 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;char c[1007][1007];int vis[1007][1007];int…… 题解列表 2023年02月21日 0 点赞 0 评论 562 浏览 评分:0.0
c++----map的统计功能 摘要: #include using namespace std; int main() { int n; cin>>n; int a…… 题解列表 2023年02月22日 0 点赞 0 评论 718 浏览 评分:0.0
编写题解 1102: 明明的随机数 解题思路:注意事项:参考代码:input()lst=list(set(int(i)foriininput().split()))lst.sort()lst=list(map(str,lst))print(len(lst))print("".join(lst)) 题解列表 2023年02月22日 0 点赞 0 评论 656 浏览 评分:0.0
蓝桥杯2018年第九届真题-次数差-C++ 摘要:解题思路: 双指针法注意事项: 注意我在字符串末尾加了个‘A’,可以减少判断逻辑参考代码:#include<iostream> #include<algorithm> using na…… 题解列表 2023年02月22日 0 点赞 0 评论 484 浏览 评分:0.0
2826: 雇佣兵(python) 摘要:解题思路:注意事项:参考代码:from decimal import * M,N,X = map(int,input().split()) while X > 0 and X * N >= M: …… 题解列表 2023年02月22日 0 点赞 0 评论 536 浏览 评分:0.0