[编程入门]有规律的数列求和-题解(C语言代码) 摘要:解题思路: 根据算式:知道后一项的分子等一前一项分子加分母; 后一项的分母为前一项的分子; #include"stdio.h" int main() { double m=1,s,j…… 题解列表 2019年11月29日 0 点赞 0 评论 1223 浏览 评分:9.9
[编程入门]阶乘求和-题解(C语言代码) 摘要:```c #include int main() { long sum = 0,m=1; //注意sum,m超过int范围 int i,n; scanf("%d",&n); …… 题解列表 2019年11月29日 0 点赞 0 评论 778 浏览 评分:0.0
[STL训练]Train Problem I (C++代码) 摘要:思路:模拟 使用一个栈来模拟整个判断过程 分五种情况; 1,当栈为空且In数组还没有遍历完时,直接入栈,in数组指针向后移 2.当栈不空,栈顶元素与out数组当前元素相等时,出栈,Out数组指…… 题解列表 2019年11月29日 0 点赞 0 评论 571 浏览 评分:9.6
[编程入门]自由下落的距离计算-题解(C语言代码) 摘要: s为反弹的一半,k为全路程。 #include"stdio.h" int main() { double s=0,m,n; double k=0…… 题解列表 2019年11月29日 0 点赞 0 评论 573 浏览 评分:0.0
[递归]母牛的故事-题解(C语言代码) 摘要::smirk: :smirk: ```c #include int main() { int a,b,d,c,j,m; do{ a=1,b=2,d=…… 题解列表 2019年11月29日 0 点赞 1 评论 647 浏览 评分:9.3
字符逆序 (C++代码) 摘要:### 字符逆序的输出 利用while()循环进行逐个输出字符; **leng ** 为代码长度 ```cpp #include #include "string" using …… 题解列表 2019年11月29日 0 点赞 0 评论 1971 浏览 评分:9.9
日期排序-题解(C语言代码)数据太水了 难以置信的代码 摘要: #include using namespace std; int main() { string str; while(cin>>str)cout…… 题解列表 2019年11月29日 0 点赞 1 评论 911 浏览 评分:2.0
[编程入门]电报加密-题解(C语言代码) 摘要: #include #include int main() { int i,z; char word[1000]; gets(…… 题解列表 2019年11月29日 0 点赞 0 评论 546 浏览 评分:0.0
[STL训练]2010辽宁省决赛 SPY-题解(C++代码) 摘要:```cpp #include #include #include #include #include using namespace std; int main() { int …… 题解列表 2019年11月29日 0 点赞 0 评论 843 浏览 评分:9.9
蓝桥杯基础练习-十六进制转十进制 (C++代码)by Zfans. 摘要:```cpp #include #include using namespace std; int toNum(char ele) { switch (ele) { …… 题解列表 2019年11月30日 0 点赞 0 评论 1420 浏览 评分:4.8