C语言训练-列出最简真分数序列* (C++代码) 摘要:解题思路:注意格式就ok注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ for(int i = 1;i < 4…… 题解列表 2019年04月21日 0 点赞 0 评论 549 浏览 评分:0.0
C语言训练-大、小写问题 (C++代码) 摘要:解题思路:简单的大小写转换注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ char str[120]; …… 题解列表 2019年04月21日 0 点赞 0 评论 878 浏览 评分:0.0
C语言训练-委派任务* (C语言代码) 摘要:解题思路:数学模拟题哦 找到矛盾的条件是解决这类问题最快速的方法 我就偷懒直接输出了注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int …… 题解列表 2019年04月21日 0 点赞 0 评论 420 浏览 评分:0.0
C语言训练-字符串正反连接 (C语言代码) 摘要:解题思路:c语言有个str函数 可以字符串拼接 我直接正序逆序输出就ok了注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(…… 题解列表 2019年04月21日 0 点赞 0 评论 534 浏览 评分:0.0
C语言训练-尼科彻斯定理 (C++代码) 摘要:解题思路:直接看样例找规律注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,i; cin>>n…… 题解列表 2019年04月21日 0 点赞 0 评论 476 浏览 评分:0.0
C语言训练-排序问题<1> (C++代码) 摘要:解题思路:sort 排序大法注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a[4]; for(…… 题解列表 2019年04月21日 0 点赞 0 评论 471 浏览 评分:0.0
C语言训练-数字母 (C++代码) 摘要:解题思路:写个判断函数 判断字符串是否是字符 注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ char str…… 题解列表 2019年04月21日 0 点赞 0 评论 560 浏览 评分:0.0
DNA (C语言代码) 摘要:解题思路:先打印第一行后面每组打印都少第一段注意事项:参考代码:#include<stdio.h>#include<stdlib.h>int main(){ int t; scanf("%…… 题解列表 2019年04月21日 0 点赞 0 评论 459 浏览 评分:0.0
迷宫问题 (C++代码) 摘要:解题思路:宽度优先搜索的常规题注意事项:需要注意判断:如果不存在通路需要返回-1(否则只能过50%,存在一半的数据);参考代码:#include <iostream>#include <algorit…… 题解列表 2019年04月21日 0 点赞 0 评论 496 浏览 评分:0.0
C二级辅导-求偶数和 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, i, a[100], s = 0; scanf("%d", &n); for(i…… 题解列表 2019年04月22日 0 点赞 0 评论 585 浏览 评分:0.0