Pascal三角 (C语言代码) 摘要:#include <stdio.h> #define N 20 int main() { int n,i=0,j=0,k=0,a[N][N]; scanf("%d",&n); for…… 题解列表 2017年12月07日 7 点赞 0 评论 2021 浏览 评分:9.7
WU-格式化数据输出 (C++代码) 摘要:解题思路:我来吐槽一下这个网站的题目质量 ,题目这种给应该根本做不出来,我是去别的网站上找的原题才做出来的。 此题做起来感觉毫无意义。但是我有AC强迫症所以花了10元买了份蓝桥杯上原题的资料 才看到…… 题解列表 2017年12月07日 25 点赞 2 评论 1664 浏览 评分:9.9
斜率计算 (C语言代码) 摘要:注意事项:结果是整数,懒得改了#include<stdio.h>int main(){ float x1,x2,y1,y2; scanf("%f%f%f%f",&x1,&y1,&x2,&y…… 题解列表 2017年12月07日 1 点赞 0 评论 5651 浏览 评分:5.2
新生舞会 (C语言代码) 摘要:#include<stdio.h>#include<string.h>struct student { char name[21]; char num[11]; char sex[2]; }; …… 题解列表 2017年12月07日 0 点赞 0 评论 1246 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.4 (C语言代码) 摘要:解题思路:注意事项:一定要细心!参考代码:#include <stdio.h>void test();int i,j, arr[3][3];int main(){ for( i=0; i<3; i++…… 题解列表 2017年12月07日 0 点赞 0 评论 847 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.3 (C语言代码) 摘要:解题思路:注意事项:一定要细心!参考代码:#include <stdio.h>int test(int a);int main(){ int a=7; scanf("please intput a n…… 题解列表 2017年12月07日 0 点赞 0 评论 707 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.2 (C语言代码) 摘要:解题思路:注意事项:一定要细心!参考代码:#include <stdio.h>#include <math.h>int test1(double a,double b,double c){ doubl…… 题解列表 2017年12月07日 0 点赞 0 评论 1093 浏览 评分:0.0
WU-字符串比较 (C++代码) 摘要: 直接调用c++特性string 流来解决问题参考代码:#include<iostream> #include<cstring> using namespace std; int main()…… 题解列表 2017年12月07日 3 点赞 0 评论 1084 浏览 评分:6.0
最长字符串 (C语言代码) 摘要:#include<stdio.h>int len(char *arr){ int i=0; for(;arr[i]!='\0';i++); return i;}int main(){ …… 题解列表 2017年12月07日 0 点赞 0 评论 1105 浏览 评分:0.0
特殊的数字四十 (C语言代码) 摘要:#include<stdio.h>int main(){ int i,sum; for(i=1000;i<10000;i++) if((i/1000+i/100%10+i/10%10+i%10)==…… 题解列表 2017年12月07日 0 点赞 0 评论 1328 浏览 评分:0.0