信息学奥赛一本通T1177-奇度单增序列-题解(各语言代码) 摘要:**python** ```python input() print(*sorted(filter(lambda x:x&1,map(int,input().split()))),sep=','…… 题解列表 2022年05月13日 0 点赞 0 评论 788 浏览 评分:9.4
暴力法求解 摘要:解题思路:注意事项:参考代码: #include<stdio.h> int function(int x){ int i; for(i=2;i<x;i++){ …… 题解列表 2022年05月13日 0 点赞 0 评论 321 浏览 评分:0.0
lf-Hello,world! 普通解法 摘要:解题思路:注意事项:参考代码: #include int main(){ int a; char s; while(scanf("%d",&a)!=EOF){…… 题解列表 2022年05月13日 0 点赞 0 评论 356 浏览 评分:0.0
用了C++中的vector数组 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<vector>using namespace std;vector<int> arr;bool method1(in…… 题解列表 2022年05月13日 0 点赞 0 评论 352 浏览 评分:0.0
纸张尺寸C++ 摘要:```cpp #include using namespace std; int main() { string s; cin>>s; int sz=s[1]-'0'…… 题解列表 2022年05月13日 0 点赞 0 评论 802 浏览 评分:9.9
震惊,缺少两行代码居然是ac和超时的区别!! 摘要:解题思路:注意事项:A^B=x成立时有A^x=B参考代码:#includeusing namespace std;int n,m,l,r,x;const int maxm=100003;int a[m…… 题解列表 2022年05月13日 0 点赞 1 评论 1573 浏览 评分:5.7
提公因式+前缀和(c++) 摘要:```cpp #include using namespace std; typedef long long ll; const int N=2e5+5; int n; ll a[N],s…… 题解列表 2022年05月13日 0 点赞 2 评论 886 浏览 评分:9.9
利用<math.h>,pow()函数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int i; int l,m,n; for(i=100;i<1…… 题解列表 2022年05月13日 0 点赞 0 评论 526 浏览 评分:0.0
动态规划-选数异或 摘要:动态规划求两数异或等于x的区间左端最大值 ```cpp #include #include using namespace std; typedef long long ll; con…… 题解列表 2022年05月13日 0 点赞 3 评论 2172 浏览 评分:6.7
小南解题---矩阵加法 摘要:'''zgn94615:01 2022/5/13'''#输入a,b=map(int,input().strip().split())A=[list(ma…… 题解列表 2022年05月13日 0 点赞 0 评论 507 浏览 评分:0.0