登陆验证问题(二)-题解(C语言代码) 自我感觉应用了模块化编程的思想 摘要:#include #include int check(char *a,char *b) { char user[]={"dotcpp"}; char passwor…… 题解列表 2019年12月10日 0 点赞 0 评论 735 浏览 评分:6.0
蛇行矩阵-题解(C++代码)打表法 摘要:这题后台数据很小 n最大是5 建议加强 所以我们可以打表过 #include using namespace std;//时间复杂度比较大n*100*100 int n,a[100…… 题解列表 2019年12月10日 0 点赞 0 评论 1131 浏览 评分:6.0
弟弟的作业-题解(Python代码)超级简单,易懂!!! 摘要:**代码如下:** n=0 while True: try: x=input() x=x.replace(…… 题解列表 2019年12月11日 0 点赞 1 评论 1461 浏览 评分:6.0
[编程入门]三个数找最大值-题解(C语言代码) 摘要:#include void main() {int a,b,c,m; scanf("%d%d%d",&a,&b,&c); if(a>b) m=a; else m=b; if(c>m)…… 题解列表 2019年12月11日 0 点赞 0 评论 1075 浏览 评分:6.0
Kanna-舍罕王的失算-C 摘要:象棋中一共64格 而两格又是之前的两倍,所以是 2^i 次方 代码实现 #include #include int main(void){ /…… 题解列表 2019年12月12日 0 点赞 1 评论 1272 浏览 评分:6.0
【密码】-题解(C++代码) 思路简单 摘要: //1.判断长度是否符合标准 //2.遍历字符串,设置了type1~4表示四种条件的满足情况,若在遍历过程中发现符合某种条件就设置它对应的type为1,遍历结束后将type1~4相加可以得…… 题解列表 2019年12月13日 0 点赞 0 评论 826 浏览 评分:6.0
Kanna-第一个HelloWorld程序!--C C++ 摘要:注意点星号数量与换行 C 代码: #include int main() { printf("**************************…… 题解列表 2019年12月13日 0 点赞 0 评论 1036 浏览 评分:6.0
[编程入门]二维数组的转置-题解(C++代码) 摘要:#include using namespace std; int a[3][3]; int zhuanzhi(int a[][3]) { for(int i=0;i…… 题解列表 2019年12月16日 0 点赞 0 评论 991 浏览 评分:6.0
[编程入门]数组插入处理-题解(C语言代码) 摘要:#include int main() { int x[9],a,i;//a为需要插入的数 for (i=0;i…… 题解列表 2019年12月16日 0 点赞 0 评论 985 浏览 评分:6.0
日期排序-题解(C++代码)【结构体排序做法】 摘要: #include using namespace std; #include #include #include **struct date {int m; char a; int…… 题解列表 2019年12月16日 0 点赞 0 评论 1126 浏览 评分:6.0