蓝桥杯2020年第十一届省赛真题-字符串编码(Python) 摘要:解题思路:注意事项:参考代码:s = input()ans = ''i = 0while i<len(s): if i+1>=len(s) or int(s[i])>2: …… 题解列表 2022年03月24日 0 点赞 0 评论 485 浏览 评分:6.0
蓝桥杯算法提高VIP-打水问题(Python) 摘要:解题思路:注意事项:参考代码:N,M=map(int,input().split()) a=list(map(int,input().split())) a.sort() water=[[0 f…… 题解列表 2022年03月24日 0 点赞 0 评论 386 浏览 评分:0.0
1743: 大整数排序 (java的两种实现) 摘要:原题: [https://www.dotcpp.com/oj/problem1743.html](https://www.dotcpp.com/oj/problem1743.html) - 思路…… 题解列表 2022年03月24日 0 点赞 0 评论 480 浏览 评分:0.0
题解 1807: [编程基础]输入输出练习之格式控制 摘要:解题思路:使用format 格式化函数注意事项:< 左对齐8d 占8位参考代码:a,b,c=map(int,input().split())print('{:<8d}{:<8d}{:<8d}&…… 题解列表 2022年03月24日 0 点赞 0 评论 1580 浏览 评分:8.7
查字典写DNA——C语言 摘要:解题思路:根据第二个5 4数据给的案例可以看出,DNA是按照x x x x x x x循环四次最后再加上第一行;因此只要把这个形状保存后循环四次最后再输出一遍第一行就行了。注意事项:这里的x是大…… 题解列表 2022年03月24日 0 点赞 0 评论 440 浏览 评分:9.9
数字逆序输出 摘要:解题思路:先输入,再输出注意事项:参考代码:#include<stdio.h>int main(){ int a[10],j,i; for(i=0;i<=9;i++) { scanf("%d",&a…… 题解列表 2022年03月24日 0 点赞 1 评论 352 浏览 评分:9.9
c语言不用指针和函数求解 摘要:解题思路:改题的思路是定义一个至少含姓名,学号,三科成绩的结构体。具体看代码吧。(笔者学代码不久,有什么写的不好的地方,还请谅解,欢迎大家讨论)注意事项:参考代码:#include<stdio.h>t…… 题解列表 2022年03月24日 0 点赞 0 评论 368 浏览 评分:9.9
信息学奥赛一本通T1602-烽火传递 摘要:数据太水,居然混过去了 ```cpp #include #include using namespace std; int n, m; int dp[200005]; int a[200…… 题解列表 2022年03月25日 0 点赞 0 评论 511 浏览 评分:5.2
数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int x,i,k=0,g; cin>>x; g=x; fo…… 题解列表 2022年03月25日 0 点赞 0 评论 382 浏览 评分:9.9
编写题解 1011: [编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int x,y,a,b,p; cin>>x>>y; for…… 题解列表 2022年03月25日 0 点赞 0 评论 419 浏览 评分:0.0