首页
DreamJudge
院校信息
专业题库
模拟考试
机试真题
408真题
专业课程
兑换中心
登录
注册
上岸
西电机试专家
这个人很懒,什么都没有写...
关注
发消息
文章
0
题解
65
发帖
0
笔记
0
Ta的粉丝
25
关注数
0
粉丝数
25
获赞数
670
阅读数
24451
2048的游戏 题解:优先队列so easy
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n;  ...
P1208
2025年3月26日 17:31
回复 0
|
赞 4
|
浏览 266
ASCII码排序 题解:神人题
#include<bits/stdc++.h> using namespace std; bool cmp(char a,char b){ return a<b; } int main(){ &nbs...
P5291
2025年3月26日 17:19
回复 0
|
赞 0
|
浏览 205
倒杨辉三角 题解:long long long long
#include<bits/stdc++.h> using namespace std; int main(){ int n; while(cin>>n) { &nbs...
P1888
2025年3月26日 17:02
回复 0
|
赞 0
|
浏览 159
字母频率 题解:非常棒的题解
#include<bits/stdc++.h> using namespace std; int main(){ map<char,int> M; string s; &n...
P1019
2025年3月25日 16:54
回复 0
|
赞 1
|
浏览 143
水仙花数 题解:优美
#include <bits/stdc++.h> using namespace std; int sxh(int x){ int ge=x%10; int shi=x/10%10; ...
P1034
2025年3月25日 16:14
回复 0
|
赞 8
|
浏览 323
最长连续因子 题解:排序大法
#include <bits/stdc++.h> using namespace std; struct node{ int shi; int chang; }b[10001]; b...
P1020
2025年3月25日 16:03
回复 0
|
赞 4
|
浏览 295
前缀字符串 题解:二刷优化代码,更易理解
#include <bits/stdc++.h> using namespace std; bool cmp(string a,string b){ return a.size()<b.size(); } int qian(st...
P1098
2025年3月24日 11:17
回复 0
|
赞 2
|
浏览 197
加密算法 题解:好题解
# include<bits/stdc++.h> using namespace std; int main(){ string str; getline(cin,str); &n...
P1014
2025年3月24日 10:02
回复 0
|
赞 5
|
浏览 270
杨辉三角形 题解:笨办法但易懂
#include<bits/stdc++.h> using namespace std; int main(){ int n; while(cin>>n) { &nbs...
P1062
2025年3月23日 11:12
回复 0
|
赞 9
|
浏览 311
负二进制 题解:二进制除基取余轻微改写
eg:正常来说-3%-2=1······-1;那么经过我们本题的逻辑后,就应为-3%-2=2······1;而若2%-2=1&...
P1097
2025年3月23日 10:20
回复 0
|
赞 6
|
浏览 226
猴子报数 题解:利用vector容器
#include <bits/stdc++.h> using namespace std; int main(){ int n,s,m;//s个猴子开始报数,第m个猴子退出报数 w...
P1081
2025年2月10日 15:26
回复 1
|
赞 26
|
浏览 500
求解校验码 题解:c语言实现
#include <bits/stdc++.h> using namespace std; int main(){ int a,b,c; scanf("%d-%d-%d",&am...
P1928
2025年3月16日 16:00
回复 0
|
赞 0
|
浏览 204
消消乐 题解:排序解决一切
#include <bits/stdc++.h> using namespace std; bool cmp(int a,int b){ return a<b; } int main(){  ...
P1869
2025年3月16日 15:59
回复 0
|
赞 3
|
浏览 277
求30的倍数 题解:冷知识,能被3整除的数每位加起来的和也可以被3整除
#include <bits/stdc++.h> using namespace std; bool cmp(int a,int b){ return a>b; } int main(){  ...
P1736
2025年3月16日 15:59
回复 0
|
赞 12
|
浏览 316
序列求平均 题解:动态数组vector
#include <bits/stdc++.h> using namespace std; int main(){ int n,m; while(cin>>n>>m){ ...
P1672
2025年3月16日 15:57
回复 0
|
赞 5
|
浏览 273
奇怪的餐厅 题解:结构体排序题
#include <bits/stdc++.h> using namespace std; struct zk{ float z; int h;//上限 }; bool cmp(zk...
P1670
2025年3月16日 15:56
回复 0
|
赞 3
|
浏览 263
二叉排序树 - 华科 题解:把父亲结点当做参数传进来就好了,easy
#include <bits/stdc++.h> using namespace std; typedef struct node{ int data; struct n...
P1396
2025年3月7日 10:59
回复 1
|
赞 12
|
浏览 696
日期计算 题解:棒棒题解
#include <bits/stdc++.h> using namespace std; int run(int a){ if((a%4==0&&a%100!=0)||a%400==0) &n...
P1051
2025年3月15日 11:37
回复 0
|
赞 7
|
浏览 322
质因数个数 题解:二刷优化代码
#include <bits/stdc++.h> using namespace std; //判断是否为质数 int zhi(int a) { if(a<2) return 0;//小于2的均非质数 &...
P1156
2025年3月14日 11:19
回复 1
|
赞 16
|
浏览 400
括号的匹配 题解:111
#include <bits/stdc++.h> using namespace std; map<char,char> m1{ {'>','<'},{')','('},{']...
P1067
2025年3月14日 14:57
回复 0
|
赞 8
|
浏览 324
1
2
3
4
本科学校:保密
目标学校:无
点此申请N诺身份认证
获得 noobdream 认证,享受多重认证福利!