C语言训练-委派任务* (C语言代码) 摘要:解题思路:数学模拟题哦 找到矛盾的条件是解决这类问题最快速的方法 我就偷懒直接输出了注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int …… 题解列表 2019年04月21日 0 点赞 0 评论 616 浏览 评分:0.0
C语言训练-字符串正反连接 (C语言代码) 摘要:解题思路:c语言有个str函数 可以字符串拼接 我直接正序逆序输出就ok了注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(…… 题解列表 2019年04月21日 0 点赞 0 评论 784 浏览 评分:0.0
C语言训练-尼科彻斯定理 (C++代码) 摘要:解题思路:直接看样例找规律注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,i; cin>>n…… 题解列表 2019年04月21日 0 点赞 0 评论 658 浏览 评分:0.0
C语言训练-排序问题<1> (C++代码) 摘要:解题思路:sort 排序大法注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a[4]; for(…… 题解列表 2019年04月21日 0 点赞 0 评论 664 浏览 评分:0.0
C语言训练-数字母 (C++代码) 摘要:解题思路:写个判断函数 判断字符串是否是字符 注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ char str…… 题解列表 2019年04月21日 0 点赞 0 评论 760 浏览 评分:0.0
DNA (C语言代码) 摘要:解题思路:先打印第一行后面每组打印都少第一段注意事项:参考代码:#include<stdio.h>#include<stdlib.h>int main(){ int t; scanf("%…… 题解列表 2019年04月21日 0 点赞 0 评论 713 浏览 评分:0.0
迷宫问题 (C++代码) 摘要:解题思路:宽度优先搜索的常规题注意事项:需要注意判断:如果不存在通路需要返回-1(否则只能过50%,存在一半的数据);参考代码:#include <iostream>#include <algorit…… 题解列表 2019年04月21日 0 点赞 0 评论 681 浏览 评分: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 评论 857 浏览 评分:0.0
[编程入门]宏定义的练习 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define qy(a,b) a%bint main(){int a,b; scanf("%d %d",&a,&b); p…… 题解列表 2019年04月22日 2 点赞 0 评论 1037 浏览 评分:0.0
C语言考试练习题_排列 (C语言代码) 摘要:#include <stdio.h> int main() { int i,j,k,m; int a[4]; int b[3]; for(i=0;i<4;i…… 题解列表 2019年04月22日 1 点赞 0 评论 1041 浏览 评分:0.0