二级C语言-阶乘数列(易忽视的地方) 摘要:解题思路:注意事项:科学计数法保留两位小数,输出时用%.2e而不是%.2f参考代码:#include<stdio.h>int main(){ int i; double sum=0,x=1…… 题解列表 2022年03月11日 0 点赞 0 评论 307 浏览 评分:0.0
蓝桥杯2014年第五届真题-排列序数 摘要:```cpp #include using namespace std; const int N = 100000; int k=0,l,vis[N]; char s[N]; char r…… 题解列表 2022年03月11日 0 点赞 0 评论 390 浏览 评分:0.0
dp与dfs 蓝桥杯2014年第五届真题-地宫取宝 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int MOD = 1000…… 题解列表 2022年03月11日 0 点赞 0 评论 415 浏览 评分:0.0
(简单易懂)自定义函数之字符串拷贝 摘要:注意事项:getchar()是读入函数的一种。它从标准输入里读取下一个字符,相当于getc(stdin)。返回类型为int型,为用户输入的ASCII码或EOF。getchar有一个int型的返回值。当…… 题解列表 2022年03月11日 0 点赞 0 评论 504 浏览 评分:0.0
数列排序(用选择排序法做) 摘要:```c #include int main() { int n,i,min,j,t; int a[10000]; scanf("%d",&n); for(i=0;i…… 题解列表 2022年03月11日 0 点赞 0 评论 490 浏览 评分:0.0
字符逆序(Java) 摘要:解题思路:注意事项:参考代码:import java.io.*; import java.util.*; public class Main { public static void…… 题解列表 2022年03月12日 0 点赞 0 评论 759 浏览 评分:0.0
求N内的素数(Java语言) 摘要:解题思路:注意事项:参考代码:import java.io.*; import java.util.*; public class Main { public static void…… 题解列表 2022年03月12日 0 点赞 0 评论 355 浏览 评分:0.0
如果全为负数,这个测试测不出来 摘要: int n,m; int pre = 0; int current = 0; int flag=0; int firstnum=INT_MIN; int temp_n; if…… 题解列表 2022年03月12日 0 点赞 0 评论 406 浏览 评分:0.0
循环链表解法 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<bits/stdc++.h>using namespace std;int main(){ typedef st…… 题解列表 2022年03月12日 0 点赞 0 评论 379 浏览 评分:0.0
队列操作(链队列解法) 摘要: #include #include typedef struct linknode{ int data; struct linknode *next…… 题解列表 2022年03月12日 0 点赞 0 评论 503 浏览 评分:0.0