2819: 数字反转(python) 摘要:解题思路:注意事项:参考代码:n = int(input()) if n < 0: print("-",end = "") n = -n n = str(n)[::-1] …… 题解列表 2023年02月21日 0 点赞 0 评论 253 浏览 评分:0.0
学霸的迷宫 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;char c[1007][1007];int vis[1007][1007];int…… 题解列表 2023年02月21日 0 点赞 0 评论 194 浏览 评分:0.0
c++----map的统计功能 摘要: #include using namespace std; int main() { int n; cin>>n; int a…… 题解列表 2023年02月22日 0 点赞 0 评论 328 浏览 评分:0.0
编写题解 1102: 明明的随机数 摘要:解题思路:注意事项:参考代码:input()lst=list(set(int(i) for i in input().split()))lst.sort()lst=list(map(str,lst))…… 题解列表 2023年02月22日 0 点赞 0 评论 284 浏览 评分:0.0
蓝桥杯2018年第九届真题-次数差-C++ 摘要:解题思路: 双指针法注意事项: 注意我在字符串末尾加了个‘A’,可以减少判断逻辑参考代码:#include<iostream> #include<algorithm> using na…… 题解列表 2023年02月22日 0 点赞 0 评论 109 浏览 评分: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 评论 278 浏览 评分:0.0
2867: 单词的长度 c++简洁版 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string> using namespace std; int main() { boo…… 题解列表 2023年02月22日 0 点赞 0 评论 208 浏览 评分:0.0
<计算机二级>计负均正(C语言) 摘要:#include<stdio.h> int main() { int arr[20],count=0,sum=0; float ave; for (int i = 0; i < 20;…… 题解列表 2023年02月22日 0 点赞 0 评论 104 浏览 评分:0.0
辗转相除求因子(极简C语言) 摘要:解题思路:从最小质数开始除,辗转相除,除出所有同一个质数,才到下一个质数,除到最后一个质数为止注意事项:不将数n直接循环遍历,用中介 t 代替,因为过程中数n会被重赋值,进入死循环。参考代码:#inc…… 题解列表 2023年02月22日 0 点赞 0 评论 150 浏览 评分:0.0
简单易懂!!! 摘要:解题思路:注意事项:scanf("%d\n",&n);只有这样写是对的,如果写成scanf("%d",&n);getchar();//用getchar读取换行符是错的,不知道为什么,希望有大神指导参考…… 题解列表 2023年02月22日 0 点赞 0 评论 205 浏览 评分:0.0