小南解题--链表数据求和操作--64ms 摘要:aa=[]n1=n2=0for i in range(10): a,b=map(int,input().split()) n1+=a n2+=bprint('%d+%di&#…… 题解列表 2022年08月27日 0 点赞 0 评论 390 浏览 评分:9.9
信息学奥赛一本通T1330-最少步数(BFS) 摘要: #include using namespace std; int dx1[4] = {-2, -2, 2, 2}; int dy1[4] = {-2…… 题解列表 2022年08月27日 3 点赞 0 评论 846 浏览 评分:9.9
尾插法创建链表、选择排序 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <malloc.h> typedef struct student { int id; int …… 题解列表 2022年08月28日 0 点赞 0 评论 373 浏览 评分:9.9
1083: Hello, world! 摘要:```cpp #include using namespace std; int main() { int a; while(cin>>a) cout…… 题解列表 2022年08月28日 0 点赞 0 评论 485 浏览 评分:9.9
三个数字排大小,忙人解法^-^。 摘要:解题思路:多次使用if else嵌套来判断三个数的大小。注意事项:无。参考代码:#include<stdio.h>int main(){ int a,b,c,max,min,zh; s…… 题解列表 2022年08月29日 0 点赞 2 评论 255 浏览 评分:9.9
应该最简单了吧 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int a,b; char str[100],str2[100]…… 题解列表 2022年08月29日 0 点赞 1 评论 339 浏览 评分:9.9
蛇形矩阵,很好理解 摘要:```c #include int main() { int n; int num[100][100]={0}; scanf("%d",&n); int …… 题解列表 2022年08月30日 0 点赞 0 评论 360 浏览 评分:9.9
两次递归,Sn,An 摘要:解题思路:注意事项:参考代码:#include<stdio.h> //求An的值 void An(int n, int i) { if (n==1) { printf("sin(%…… 题解列表 2022年08月31日 0 点赞 0 评论 437 浏览 评分:9.9
有一分数序列: 2/1 3/2 5/3 8/5 13/8 21/13...... 求出这个数列的前N项之和,保留两位小数。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,i; scanf("%d",&a); float b[a],c[a],d[a],sum; b[0]=…… 题解列表 2022年08月31日 0 点赞 2 评论 828 浏览 评分:9.9
1084: 用筛法求之N内的素数 摘要:```cpp #include #include using namespace std; bool zs(int n) { for(int i=2;i>n; for(i…… 题解列表 2022年08月31日 0 点赞 0 评论 454 浏览 评分:9.9