主站
DreamJudge
院校信息
专业题库
模拟考试
机试真题
上岸课程
讨论区
兑换中心
登录
注册
上岸
西电机试专家
这个人很懒,什么都没有写...
关注
发消息
文章
0
题解
43
发帖
0
笔记
0
Ta的粉丝
24
关注数
0
粉丝数
24
获赞数
292
阅读数
6432
进制转换2 题解:very good
#include <bits/stdc++.h> using namespace std; int main(){ string s; while(cin>>...
P1259
2025年3月11日 20:42
回复 0
|
赞 2
|
浏览 45
反序数 题解:清晰
#include <bits/stdc++.h> using namespace std; int fan(int a){ int ans=0; while(a>0){ &nb...
P1454
2025年3月11日 20:28
回复 0
|
赞 2
|
浏览 24
统计单词 题解:写出这么简单的代码也是神人了
#include <bits/stdc++.h> using namespace std; //遇到单词就开始计数,遇到空格计数归零 int main(){ string s; &n...
P1394
2025年3月11日 17:57
回复 0
|
赞 6
|
浏览 37
首字母大写 题解:非常好理解
#include <bits/stdc++.h> using namespace std; //注意,题目中说输入字符串,那么可能不止含有字母,所以应先判断是否为字母 int main(){ st...
P1240
2025年3月11日 17:46
回复 0
|
赞 1
|
浏览 22
数字统计 题解:简单的思路
#include <bits/stdc++.h> using namespace std; int num2(int a){ int ans=0; while(a>0){ ...
P1002
2025年3月10日 16:19
回复 0
|
赞 1
|
浏览 24
0和1的个数 题解:超简单思路
#include <bits/stdc++.h> using namespace std; //除基取余法 int main(){ int a; cin&g...
P1008
2025年3月10日 12:01
回复 0
|
赞 2
|
浏览 30
01序列 题解:笨蛋小美的做法
#include <bits/stdc++.h> using namespace std; int main(){ int a,b,c,d,e,f; for(a=0;a&...
P1001
2025年3月10日 11:55
回复 0
|
赞 0
|
浏览 32
利润提成 题解:打表
#include <bits/stdc++.h> using namespace std; int main(){ long long jj; cin>...
P1040
2025年3月10日 11:44
回复 0
|
赞 3
|
浏览 54
整除 题解:逻辑简单
#include <bits/stdc++.h> using namespace std; int main(){ int cnt=0; for(int i=100;i&...
P1007
2025年3月10日 11:34
回复 0
|
赞 2
|
浏览 57
前缀字符串 题解:暴力枚举
#include <bits/stdc++.h> using namespace std; //思路:暴力枚举,把符合要求的字符串存储到xin数组,若新数组中元素为原数组中字符串的前缀 //则更新xin数组中元素,使之越长越好,越长即越不容易成为别...
P1098
2025年3月8日 09:36
回复 0
|
赞 2
|
浏览 41
剩下的树 题解:利用动态数组vector
#include <bits/stdc++.h> using namespace std; int main(){ int L,M; while(cin...
P1175
2025年3月7日 11:57
回复 0
|
赞 1
|
浏览 27
谁是你的潜在朋友 题解:各位都是我的好朋友
#include <bits/stdc++.h> using namespace std; int main(){ int n,m;//n为人数,m为书数 &nbs...
P1225
2025年3月7日 11:30
回复 0
|
赞 0
|
浏览 32
统计同成绩学生人数 题解:找呀找呀找朋友,找到一个好朋友
#include <bits/stdc++.h> using namespace std; int main(){ int n; while(cin&g...
P1329
2025年3月7日 11:17
回复 0
|
赞 0
|
浏览 32
二叉排序树 - 华科 题解:把父亲结点当做参数传进来就好了,easy
#include <bits/stdc++.h> using namespace std; typedef struct node{ int data; struct n...
P1396
2025年3月7日 10:59
回复 0
|
赞 5
|
浏览 98
二叉树遍历 题解:新手题解,勿喷
#include<bits/stdc++.h> using namespace std; typedef struct node{ char data; struct node *lef...
P1161
2025年2月28日 11:36
回复 1
|
赞 11
|
浏览 260
abc 题解:abcdefg
#include <bits/stdc++.h> using namespace std; int main(){ for(int i=0;i<=9;i++) { &nbs...
P1165
2025年3月2日 11:51
回复 0
|
赞 3
|
浏览 100
百鸡问题 题解:鸡你太美
#include <bits/stdc++.h> using namespace std; int main(){ int n; while(cin&g...
P1348
2025年3月2日 11:45
回复 0
|
赞 9
|
浏览 109
二叉树遍历2 题解:带了一些注释
#include<bits/stdc++.h> using namespace std; typedef struct node { char data; struct node* left, * righ...
P1401
2025年3月2日 10:42
回复 0
|
赞 9
|
浏览 120
二叉树2 题解:修改先序遍历
//还有不到一个月复试,大家一定要上岸啊 #include<bits/stdc++.h> using namespace std; int cnt=0;//(count 是标准库中的一个函数名) //递归三要素:递归终止条件,递归式,递归返回结果 void...
P1264
2025年3月2日 09:06
回复 0
|
赞 8
|
浏览 116
二叉树的建立和遍历 题解:修改先序遍历简化求叶子结点个数
#include <bits/stdc++.h> using namespace std; typedef struct node{ //注意typedef不能省略 char data; &n...
P1109
2025年3月2日 08:58
回复 0
|
赞 16
|
浏览 282
1
2
3
本科学校:保密
目标学校:无
点此申请N诺身份认证
获得 noobdream 认证,享受多重认证福利!