1196一行解(Python) 摘要:解题思路:将空格替换为空('')注意事项:明确sys.stdin的用法参考代码:import sysfor line in sys.stdin :print(line.replace(…… 题解列表 2022年11月04日 0 点赞 0 评论 465 浏览 评分:9.9
常规思路——辗转相除法 摘要:解题思路:辗转相除法注意事项:接受辗转相除法;熟悉交换两个数的值。参考代码:#include<stdio.h>int main(){ int m,n,a,b,temp; scanf("%d…… 题解列表 2022年11月04日 0 点赞 0 评论 445 浏览 评分:9.9
1016一行解(Python) 摘要:注意事项:强行一行,实际编程意义不大参考代码:for i in range(100, 999) : print(i) if sum(map(lambda x : x ** 3, list(map(in…… 题解列表 2022年11月04日 0 点赞 1 评论 696 浏览 评分:9.9
C++求一个闭区间内所有素数和 摘要:解题思路:注意事项:注意1不是素数,在判断是要注意参考代码:#include<iostream>using namespace std;bool check(int i)////用来检验一个数是否是素…… 题解列表 2022年11月04日 0 点赞 0 评论 440 浏览 评分:9.9
1828: 蓝桥杯2015年第六届真题-密文搜索暴力搜索 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;char s[20000];bool fx(char* s1, char* s2) …… 题解列表 2022年11月04日 0 点赞 0 评论 508 浏览 评分:9.9
无语数据结构-广义表的基本操作 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <stack>using namespace std;int main(){ stack<char> s; …… 题解列表 2022年11月04日 0 点赞 0 评论 495 浏览 评分:9.9
蓝桥杯2020年第十一届省赛真题-平面切分 蓝桥杯加油!!! 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N=1005;set<pair<int,int>> line;i…… 题解列表 2022年11月04日 0 点赞 0 评论 546 浏览 评分:9.9
采药python,不知哪里错了,请求支援 摘要:解题思路:注意事项:参考代码:各位大神帮我看看哪里有问题,实在找不出哪里错了。。。。。我测试的数据都成功t,m = map(int,input().split())s = []h = 0sum = 0…… 题解列表 2022年11月04日 0 点赞 0 评论 596 浏览 评分:9.9
C语言考试练习题_一元二次方程(c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a,b,c,x1,x2,t; scanf("%lf %lf %lf",&a,&b,&c…… 题解列表 2022年11月04日 0 点赞 0 评论 439 浏览 评分:9.9
1160: 出圈(c++) 摘要:```cpp #include using namespace std; int main() { int n,m; while(cin>>n>>m) { …… 题解列表 2022年11月05日 0 点赞 0 评论 589 浏览 评分:9.9