蓝桥杯算法提高VIP-复数求和-题解(Java代码) ##理解复数怎么求和就完了贴上代码```javaScannerscanner=newScanner(System.in);inta=scanner.nextInt();inta1=0,b1=0;for(inti=0;i 题解列表 2020年04月19日 0 点赞 0 评论 936 浏览 评分:0.0 蓝桥杯算法提高VIP-复数求和 (C++描述)---※※ **1、链表写法**最近学数据结构的课也有提到链表在此进行复习与巩固```cpp#include#include#includeusingnamespacestd;structLinkList{intx;inty;LinkList*next;};//构造链表包含复数x+yi的x, 题解列表 2020年04月19日 0 点赞 0 评论 945 浏览 评分:0.0 字符串的输入输出处理-题解(Java代码) #nextLine会读取一个回车,用b做一个标记跳出。```javaScannerscanner=newScanner(System.in);inta=scanner.nextInt();intb=a-1;while(scanner.hasNext()){while(a-->=0){Strings1= 题解列表 2020年04月19日 0 点赞 0 评论 1099 浏览 评分:0.0 蓝桥杯算法提高VIP-字符串比较-题解(C++代码) 就凭感觉写的思路理论也不是很清晰对自己的代码也不够理解比较浅显的就是:把字符串a和b一个字母一个字母进行对比而我直接把a和b进行了比较答案是正确的但是背后的原理不太清晰有看其他作者的题解大意是ascii码的比较猜测字符串直接进行比较的过程中后台程序自行转换成ASCII码进行了比较```cpp#incl 题解列表 2020年04月20日 0 点赞 0 评论 1333 浏览 评分:0.0 [编程入门]代码错误50的可以来看看(文中无正确代码) 代码错误50,找了半天找不到错误。然后看别的大佬的代码对比出来两个关键的地方。1,#defineN100//很奇怪为什么用了这个会编译失败,但是删了以后就好了2,getchar()//同样也是把这个函数换成gets()就好了 题解列表 2020年04月20日 0 点赞 0 评论 800 浏览 评分:0.0 [编程入门]结构体之成绩记录-题解(C语言代码)单链表的实现 ```c#include#includetypedefstructstu{charnum[20];charname[20];intresult1;intresult2;intresult3;structstu*next;}student;student*init(void);student*incre 题解列表 2020年04月20日 0 点赞 0 评论 1323 浏览 评分:0.0 Tom数-题解(C语言代码) %50通过的请注意 #includeintmain(){longlongnum;//2的32次方需要用longlong类型,而一个int范围为2的-16到2的16-1,或者用unsignedint类型while(scanf("%lld",&num)!=EOF){intans=0;while(num!=0){ans+=nu 题解列表 2020年04月20日 0 点赞 0 评论 1185 浏览 评分:8.0 数据结构-稀疏矩阵快速转置-题解(C语言代码) #include#include#definemaxsize12500typedefstruct{intiu;intju;inte;}triple;typedefstruct{tripledata[maxsize];intm,n,ge;}table;intmain(){intm, 题解列表 2020年04月20日 0 点赞 0 评论 1901 浏览 评分:8.7 哥德巴赫曾猜测-C++超级简单!! 摘要:```cpp #include #include using namespace std; bool isPrime(int num) { for (int i = 2; i <…… 题解列表 2020年04月20日 0 点赞 0 评论 1242 浏览 评分:9.9 C语言训练-8除不尽的数-题解(C++代码)不知道这道题想考啥 ```cpp#includeusingnamespacestd;intmain(){inta,x1,x2;for(inta=0;a 题解列表 2020年04月20日 0 点赞 0 评论 758 浏览 评分:0.0 « 12...2124212521262127212821292130...59145915 »
蓝桥杯算法提高VIP-复数求和 (C++描述)---※※ **1、链表写法**最近学数据结构的课也有提到链表在此进行复习与巩固```cpp#include#include#includeusingnamespacestd;structLinkList{intx;inty;LinkList*next;};//构造链表包含复数x+yi的x, 题解列表 2020年04月19日 0 点赞 0 评论 945 浏览 评分:0.0
字符串的输入输出处理-题解(Java代码) #nextLine会读取一个回车,用b做一个标记跳出。```javaScannerscanner=newScanner(System.in);inta=scanner.nextInt();intb=a-1;while(scanner.hasNext()){while(a-->=0){Strings1= 题解列表 2020年04月19日 0 点赞 0 评论 1099 浏览 评分:0.0
蓝桥杯算法提高VIP-字符串比较-题解(C++代码) 就凭感觉写的思路理论也不是很清晰对自己的代码也不够理解比较浅显的就是:把字符串a和b一个字母一个字母进行对比而我直接把a和b进行了比较答案是正确的但是背后的原理不太清晰有看其他作者的题解大意是ascii码的比较猜测字符串直接进行比较的过程中后台程序自行转换成ASCII码进行了比较```cpp#incl 题解列表 2020年04月20日 0 点赞 0 评论 1333 浏览 评分:0.0
[编程入门]代码错误50的可以来看看(文中无正确代码) 代码错误50,找了半天找不到错误。然后看别的大佬的代码对比出来两个关键的地方。1,#defineN100//很奇怪为什么用了这个会编译失败,但是删了以后就好了2,getchar()//同样也是把这个函数换成gets()就好了 题解列表 2020年04月20日 0 点赞 0 评论 800 浏览 评分:0.0
[编程入门]结构体之成绩记录-题解(C语言代码)单链表的实现 ```c#include#includetypedefstructstu{charnum[20];charname[20];intresult1;intresult2;intresult3;structstu*next;}student;student*init(void);student*incre 题解列表 2020年04月20日 0 点赞 0 评论 1323 浏览 评分:0.0
Tom数-题解(C语言代码) %50通过的请注意 #includeintmain(){longlongnum;//2的32次方需要用longlong类型,而一个int范围为2的-16到2的16-1,或者用unsignedint类型while(scanf("%lld",&num)!=EOF){intans=0;while(num!=0){ans+=nu 题解列表 2020年04月20日 0 点赞 0 评论 1185 浏览 评分:8.0
数据结构-稀疏矩阵快速转置-题解(C语言代码) #include#include#definemaxsize12500typedefstruct{intiu;intju;inte;}triple;typedefstruct{tripledata[maxsize];intm,n,ge;}table;intmain(){intm, 题解列表 2020年04月20日 0 点赞 0 评论 1901 浏览 评分:8.7
哥德巴赫曾猜测-C++超级简单!! 摘要:```cpp #include #include using namespace std; bool isPrime(int num) { for (int i = 2; i <…… 题解列表 2020年04月20日 0 点赞 0 评论 1242 浏览 评分:9.9
C语言训练-8除不尽的数-题解(C++代码)不知道这道题想考啥 ```cpp#includeusingnamespacestd;intmain(){inta,x1,x2;for(inta=0;a 题解列表 2020年04月20日 0 点赞 0 评论 758 浏览 评分:0.0