孤独的骑士 (C语言代码)记得利用getchar()来接受回车 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int fun(int x,int y) { int sum=0; x--;y--; for(int…… 题解列表 2019年03月04日 0 点赞 0 评论 812 浏览 评分:0.0
校门外的树 (C语言代码) 摘要:解题思路:设置一组坐标 长为L 内部L+1课树 设置为1在输入首尾坐标 将坐标内的数目标记为0 最后统计 1 的标记数目注意事项:难度不大 ,注意该设置为0 的一些数据定义好就行了参考代码:#inc…… 题解列表 2019年03月04日 1 点赞 0 评论 809 浏览 评分:0.0
蓝桥杯2013年第四届真题-买不到的数目 (C语言代码) 摘要:解题思路: 1.两个数最大不能组合的数 要小于两个数积,大于两数之和 2.若能由两个数组合则:i = a*M + b*N注意事项:参考代码:#include <stdio.h>int ma…… 题解列表 2019年03月04日 0 点赞 0 评论 952 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.8 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N, c, i; float a=1, b=1, S=0; //初始化 scanf…… 题解列表 2019年03月04日 0 点赞 0 评论 778 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int fun(char a[],char b[]) { strcat(b,a); …… 题解列表 2019年03月04日 0 点赞 0 评论 871 浏览 评分:0.0
蓝桥杯算法提高VIP-五次方数 (Java代码) 摘要:解题思路:注意事项:数字1不算......参考代码:import java.util.*; public class Main { public static int fac(int x) { …… 题解列表 2019年03月04日 0 点赞 0 评论 618 浏览 评分:0.0
C二级辅导-分段函数 (Java代码) 摘要:解题思路:if else 判断+格式化输出注意事项:参考代码:import java.util.*; public class Main { public static void main(St…… 题解列表 2019年03月04日 0 点赞 0 评论 1099 浏览 评分:9.9
母牛的故事 (Java代码) 摘要:解题思路:注意事项:注意会不会超时参考代码:import java.util.*; public class Main { public static int f(int n) { if(…… 题解列表 2019年03月04日 0 点赞 0 评论 610 浏览 评分:0.0
数字整除 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ char a[100]; int sum,b[100],j=0; scanf("%s",&a); while(…… 题解列表 2019年03月03日 0 点赞 0 评论 613 浏览 评分:0.0
C语言训练-字符串正反连接 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char s1[100],s2[100]; int i,j=0; …… 题解列表 2019年03月03日 1 点赞 0 评论 711 浏览 评分:0.0