IP判断 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string.h> using namespace std; #define Y 1 #define N …… 题解列表 2019年02月07日 1 点赞 0 评论 831 浏览 评分:0.0
蓝桥杯算法提高VIP-任意年月日历输出 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int year, month; cin >> year >> mo…… 题解列表 2019年02月07日 0 点赞 0 评论 976 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { char a[100],b[100]; int n,m,s=0; scanf("%d",&n…… 题解列表 2019年02月07日 1 点赞 0 评论 1056 浏览 评分:0.0
a两段程序为何内存反差(C语言代码) 摘要:解题思路:分别试了两段程序,代码小、变量少的反而所占内存多的意思吗?如下图:注意事项:代码长变量多的程序反而内存少,这是怎么回事?参考代码:第1次的:#include "stdio.h"int mai…… 题解列表 2019年02月08日 0 点赞 0 评论 589 浏览 评分:0.0
蓝桥杯算法提高VIP-超级玛丽 (C++代码) 摘要:解题思路: 用dfs搜索就好,搜索的时候提前判断是该处是否有坑,该处是否超过小道的长度n,剩下的就是 dfs(step+1)//向前走一步 dfs(step+2) /…… 题解列表 2019年02月08日 0 点赞 0 评论 716 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,t; scanf("%d%d%d",&a,&b,&c); if(a>b)/…… 题解列表 2019年02月08日 0 点赞 0 评论 835 浏览 评分:0.0
蓝桥杯2013年第四届真题-买不到的数目 (C++代码) 摘要:解题思路:两个数不能取到的最大数,为两个数的积减去两个数。注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a,b,m;…… 题解列表 2019年02月09日 0 点赞 0 评论 832 浏览 评分:0.0
陶陶摘苹果 (C语言代码) 摘要:解题思路:只要比较他们的长度即可。注意事项:一个是伸手得高都,一个是加上板凳时候的高度,比较时要注意伸手摘不到时才加板凳,否则苹果将摘重复。参考代码:#include<stdio.h>int main…… 题解列表 2019年02月09日 3 点赞 1 评论 797 浏览 评分:0.0
盐水的故事 (C语言代码) 摘要:解题思路:注意事项:参考代码#include<stdio.h>#include<math.h>int main(){ int VUL,D,i,k=0,SUM_time=0; while(s…… 题解列表 2019年02月09日 0 点赞 0 评论 917 浏览 评分:0.0
Tom数 (java语言代码) 摘要:解题思路:注意事项:参考代码:package cn;import java.util.*;public class Main { public static int T(String a) { …… 题解列表 2019年02月09日 0 点赞 0 评论 741 浏览 评分:0.0