汪汪与打针 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,i=0; while(scanf("%d %d",&a,&b)!=EOF){ while(1)…… 题解列表 2018年07月25日 0 点赞 0 评论 1046 浏览 评分:0.0
[编程基础]输入输出练习之输出图案 (C语言代码) 摘要:解题思路:简单粗暴,别打我注意事项:参考代码:#include<stdio.h>int main(){char d;scanf("%c",&d);printf(" %c \n",d);printf("…… 题解列表 2018年07月25日 0 点赞 0 评论 883 浏览 评分:6.7
蓝桥杯算法提高VIP-阮小二买彩票 (C++代码) 摘要:解题运用STL中的next_permutation函数计算排列组合关系#include "iostream" #include "algorithm" using namespace std; …… 题解列表 2018年07月25日 0 点赞 0 评论 1306 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:解题思路:采用数组将每月的天数存入数组中,再判断输入年份是否为闰年。注意事项:参考代码:#include<stdio.h>int main(){ int y,m,d; int i,n=0; int a…… 题解列表 2018年07月25日 0 点赞 0 评论 614 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.7 (C语言代码) 摘要:解题思路:定义两个字符数组,将字符串输入其中一个数组,运用循环将给定的字符赋值给另一个字符数组,实现该功能。注意事项:参考代码:#include<stdio.h>int main(){ int n…… 题解列表 2018年07月25日 0 点赞 0 评论 700 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.11 (C++语言 使用链表)带注释 摘要:解题思路:注意事项:不知道为什么用C提交出现编译错误,c++没事。参考代码:#include<stdio.h>#include <stdlib.h>typedef int ElemType;#defi…… 题解列表 2018年07月25日 1 点赞 0 评论 1044 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.4 (C语言代码) 摘要:解题思路:哪位好心人帮忙看看我这个为什么答案错误啊注意事项:参考代码:#include<stdio.h>#define n 3int main(){ void trans(int array[n…… 题解列表 2018年07月25日 0 点赞 1 评论 1260 浏览 评分:7.3
C语言程序设计教程(第三版)课后习题8.1 (C语言代码) 摘要:解题思路:辗转相除法求最大公约数,再用两个数的积除以最大公约数得到最小公倍数注意事项:参考代码:#include<stdio.h>int yue(int x,int y){ int t,temp…… 题解列表 2018年07月25日 0 点赞 0 评论 830 浏览 评分:0.0
【魔板】 (C++代码) 摘要:解题思路:参考代码:#include<bits/stdc++.h> using namespace std; int AimValue; bool Vis[49451 + 1]; type…… 题解列表 2018年07月25日 0 点赞 0 评论 1028 浏览 评分:0.0
可AC (C语言代码) 摘要:解题思路: 注意事项:参考代码:#include<stdio.h> int fun(int n) { int sum = 0; if (n == 1) sum = 0; i…… 题解列表 2018年07月25日 2 点赞 0 评论 1368 浏览 评分:0.0