C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:#include <stdio.h>int check(int year){ if((year%4==0)&&(year%100!=0)|(year%400==0)) return 1; …… 题解列表 2019年01月22日 0 点赞 0 评论 732 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.5 (C语言代码) 摘要:#include <stdio.h> int check(int a[],int n) { for(int i=0;i<n;i++) { if(a[i]) r…… 题解列表 2019年01月22日 0 点赞 0 评论 740 浏览 评分:0.0
C二级辅导-等差数列 (C语言代码) 摘要:解题思路:和=(首项+末项)×项数÷2 注意事项:当n=1时,该公式不适用参考代码:#include <stdio.h> #define first 2 #define walk_long …… 题解列表 2019年01月22日 1 点赞 0 评论 614 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.8 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>float fac(unsigned int n){ if(n==1) return 1; if(n==2) return 2; ret…… 题解列表 2019年01月22日 0 点赞 0 评论 771 浏览 评分:0.0
去掉双斜杠注释 (Java代码) 摘要:解题思路: 正则截取 //后面的 所有 替换为空 输出注意事项:本题注意输出格式。居然还要把换行去掉参考代码:import java.util.Scanner; public class M…… 题解列表 2019年01月22日 0 点赞 0 评论 1476 浏览 评分:6.0
蓝桥杯算法提高VIP-删除重复元素 (C++代码) 摘要:#include <bits/stdc++.h> using namespace std; int main() { char s[5000]; cin>>s; for(int…… 题解列表 2019年01月22日 0 点赞 0 评论 847 浏览 评分:6.0
蓝桥杯历届试题-回文数字 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int n;fun(int m){int a,b,c,d,e,f; for(b=1;b<=9;b++) for(c=0;c<=9;c…… 题解列表 2019年01月22日 0 点赞 0 评论 672 浏览 评分:0.0
蓝桥杯算法训练VIP-寂寞的数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int isJmNum(int n) { for(int i=1;i<=n;++i) { // i%10; // …… 题解列表 2019年01月22日 0 点赞 0 评论 690 浏览 评分:0.0
C语言训练-亲密数 (C语言代码) 摘要:解题思路:求解3000以内一个数的因子之和等于另一个数(与前一个数不同)可以用函数方法来处理sumbd 注意事项:三个条件是 A的因子之和等于B;B的因子之和等于A; A不…… 题解列表 2019年01月22日 0 点赞 0 评论 600 浏览 评分:0.0
蓝桥杯算法训练VIP-集合运算 (C++代码) 摘要:#include <bits/stdc++.h> #include <stdio.h> using namespace std; int a[1005]; int b[1005]; int …… 题解列表 2019年01月22日 0 点赞 0 评论 844 浏览 评分:9.9