编写题解 3020: 最大数位置 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,a[1001],maxx=1; cin>>n; …… 题解列表 2023年02月11日 0 点赞 0 评论 482 浏览 评分:9.9
1000: [竞赛入门]简单的a+b 摘要:参考代码:while True: try: a,b=map(int,input().strip().split()) print(a+b) except: break…… 题解列表 2023年02月11日 1 点赞 0 评论 1711 浏览 评分:6.0
无数组版(暂时不是很喜欢用数组) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,a,g,b=0,t; scanf("%d",&n); for(i=0;i<n;…… 题解列表 2023年02月11日 0 点赞 0 评论 544 浏览 评分:9.9
c++ 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int x,y; cin>>x; if (x<1) …… 题解列表 2023年02月11日 0 点赞 0 评论 637 浏览 评分:9.9
dfedgfggdsgfrgzfvdfvdfwefdsfszf 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<queue>#include<map>#include<algorithm>using namespace std;…… 题解列表 2023年02月11日 0 点赞 0 评论 445 浏览 评分:4.7
3082: 奇怪的电梯(lift) 摘要:```cpp #include using namespace std; int i,n,a,b,head,tail=1,p[210],s[210][2],f[210]; int main()…… 题解列表 2023年02月11日 0 点赞 0 评论 528 浏览 评分:10.0
2770: 计算浮点数相除的余数 摘要:```cpp #include using namespace std; int main() { double a,b; int k; cin>>a>>b; …… 题解列表 2023年02月11日 0 点赞 0 评论 824 浏览 评分:9.9
链表合并(C手写链表) 摘要:解题思路:注意事项:参考代码:#include<stdlib.h> #include<stdio.h> typedef struct student { int num; int m…… 题解列表 2023年02月11日 0 点赞 0 评论 288 浏览 评分:9.9
菲波那契数列(c++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int k,sum; int f1 = 1, f2 = 1; cin …… 题解列表 2023年02月11日 0 点赞 0 评论 551 浏览 评分:9.9
2803: 整数的个数 摘要:解题思路:注意事项:参考代码:n=int(input())a=list(map(int,input().split()))print(a.count(1))print(a.count(5))print…… 题解列表 2023年02月11日 0 点赞 0 评论 451 浏览 评分:9.9