NoobDream 首页 DreamJudge 院校信息 考研初试 考研复试 保研专区 讨论区 兑换中心
登录 注册 上岸
    头像
    备考笔记 1
    Cral
    1
    头像
    P1240 首字母大写 题解:
    太一
    #include<iostream> #include<cmath> #include<algorithm> #include<string> using namespace std; int main() {  &nbs...
    头像
    P1008 0和1的个数 题解:
    ZeroQi_404
    #include <iostream> using namespace std; int main(){ int x; cin >> x; int count1=0; int count0=0; for(int i=0;i&l...
    头像
    P1348 百鸡问题-暴力+简单优化:
    Liang_Pan
    #include<bits/stdc++.h> using namespace std; int main(){ double n ; while(cin >> n){ int x,y,z; for(x = 0;x<=n/5;x++...
    头像
    P1394 统计单词 题解:
    ZeroQi_404
    #include <iostream> #include <string> using namespace std; int main(){ string s; getline(cin, s); int count = 0...
    头像
    高等数学 2024年考研数学(一)考试试题 - 第11题回答
    LaJeunesse
    6 评分及理由 (1)得分及理由(满分5分) 学生作答为“6”,与标准答案“6”完全一致。题目为填空题,仅要求填写最终结果,且规则明确“正确则给5分,错误则给0分”。学生答案正确,因此得5分。 题目总分:5分
    头像
    P1296 括号匹配问题 题解:栈中直接存括号的解法
    HKX9XAS
    #include<stdio.h> #include<iostream> #include<stack> #include<string> #include<algorithm> using namespace std;...
    头像
    政治 2025年考研思想政治理论考试试题 - 第36题回答
    LaJeunesse
    (1)毛泽东在《论持久战》中深刻指出,中国人民的大联合是战胜日本帝国主义的主要条件。这体现了人民战争的思想和抗日战争胜利的根本保障。第一,抗日战争是一场全民族的反侵略战争,只有依靠全体中国人民的广泛参与,才能形成强大的战争伟力。中国共产党倡导建立的抗日民族统一战线,团结了一切可以团结的力量,实...
    头像
    P1388 查找1 题解:
    彻底死去
    #include<iostream> #include<cstdio> #include<cmath> #include<algorithm> #include<string> #include<cstring&...
    头像
    华中科技大学 华中科技大学软件学院(921)2026 年硕士研究生复试工作细则
    26考研助手
    华中科技大学软件学院(921)2026 年硕士研究生复试工作细则
    头像
    P1151 成绩排序 题解:
    ZeroQi_404
    #include <iostream> #include <vector> #include <algorithm> using namespace std; bool cmp_up(pair<string,int> a, pai...
    头像
    P1476 查找学生信息2 题解:
    Adelaide111
    #include <bits/stdc++.h> using namespace std; struct node{ string id,name,sex; int age; }; int main() { int n,m; ...
    头像
    P5321 卡牌游戏 题解:
    lize1317
    #include <bits/stdc++.h> using namespace std; // 判定卡牌结构 struct JudgementCard { int id; int color; int score; }; /...
    头像
    P1889 公式计算 题解:
    快乐小土狗
    #include <stdio.h> #include <math.h> #define M_PI 3.1415 int main() { double x, y, z; // 循环读取多组输入数据,直到输入结束 while ...
    头像
    P1448 分组统计 题解:两个map,注意出现0次的也要输出
    Heart997
    #include<bits/stdc++.h> using namespace std; int main(){     int m;     cin>>m;     ...
    头像
    P1159 成绩排序2.0 题解:结构体排序,冒泡||快排
    AORIE
    #include <stdio.h> typedef struct Att{ int num; int q; }Stu; Stu stu[101]; void mp( Stu a[],int len){ for(int i=0;i<len;i...
    头像
    高等数学 2026年考研数学(一)考试试题 - 第18题回答
    LaJeunesse
    评分及理由 (1)得分及理由(满分6分) 学生作答: 正确识别到由 \(dF = P dx + Q dy\) 是全微分,应满足 \(\frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x}\)。 但在计算 \(P\) 和 ...
    头像
    P8730 路径计数 题解:
    快乐小土狗
    #include <stdio.h> int main() { int m, n; scanf("%d %d", &m, &n); // 动态规划数组,dp[i][j] 表示到达 (i,j) 的路径数 l...
    头像
    P1397 字符串连接 题解:
    太一
    #include<iostream> #include<cmath> #include<algorithm> #include<string> #include<map> using namespace std; in...
    头像
    P1018 击鼓传花 题解:
    撒旦
    #include <iostream> #include <vector> #include <algorithm> #include <stdlib.h> using namespace std; int main(){ &nb...
    头像
    P1907 差分计数 题解:
    123456pan
    暴力拿80% #include<bits/stdc++.h> using namespace std; #define INF 1e9 int main() {     long long int n,x;    ...
    头像
    P1171 递推数列 题解:define + for
    Jinx_K
    #include <iostream> using namespace std; #define mod 10000 int main() { int a0,a1,p,q,k; while(cin>>a0>>a1>>p&g...
    头像
    P1731 最长公共子序列 题解:
    曾不会
    #include<bits/stdc++.h> using namespace std; int f[1005][1005]; int main() {     char s0[1100],s1[1100];    &n...
    头像
    计算机组成原理 2024年(408)计算机学科专业基础综合试题 - 第43题回答
    LaJeunesse
    评分及理由 (1)得分及理由(满分2分) 学生回答:通用寄存器数量为32个,理由是指令中寄存器字段占5位(2^5=32);shamt占5位是因为字长32位,左移位数范围0~31,需要5位表示(log₂32=5)。 与标准答案一致,得2分。 (2)得分及理由(满分3分) 学生回答:ALU...
    头像
    P5295 Pell数列 题解:
    NUISTQQQ
    用递推   #include<iostream> #include<cmath> #include<vector> using namespace std; const int MOD = 32767; int F(int k...
    头像
    P1493 连续合数段 题解:
    mlx
    #include<iostream> #include<vector> using namespace std; const int N=1e5+10; /*思路:记录素数的位置,中间隔的就是合数*/ int a,b; int c[N]; ...
    头像
    P1001 01序列 题解:
    彻底死去
    #include<iostream> #include<cstdio> #include<cmath> #include<algorithm> #include<string> #include<cstring&...
    头像
    P5111 求三角形面积 题解:
    Ranz
    知道三点坐标用海伦公式求三角形面积 1.利用两点间距离公式,算出三条边的长度 a、b、c 2.计算半周长p = (a + b + c) /2 3.面积S = sqrt(p * (p - a) * (p - b) * (p - c)) #include<bits/s...
    头像
    贵州大学 贵州大学计算机科学与技术学院(贵州保密学院) 2026年硕士研究生复试工作方案
    26考研助手
    根据《关于做好贵州大学2026年硕士研究生招生复试录取工作的通知》(贵大研〔2026〕23号)文件精神,结合我院2026年硕士研究生招生复试工作实际,特制定本方案。 一、复试形式 本次采用线下复试,所有招生专业考生须到校报到进行现场复试。 二、复试时间 复试报名时间从2...
    头像
    P1487 二进制数字翻转 题解:
    太一
    #include<iostream> #include<cmath> #include<algorithm> #include<string> #include<map> using namespace std; in...
    头像
    阅读理解 2025年考研英语(一)考试试题 - 第41题回答
    LaJeunesse
    dgbef 评分及理由 (1)得分及理由(满分2分) 学生答案:D。与标准答案一致。该段落介绍了Peters患病后在花园看到蝴蝶的经历,是文章叙述的起点。得2分。 (2)得分及理由(满分2分) 学生答案:G。与标准答案一致。该段落紧接D段,说明Peters从观察蝴蝶到决定拍摄,并最终成为其康...
    头像
    P3666 单词翻转 题解:
    bigbbt
    #include <stdio.h> #include <string.h> int main() { char juzi[10001]; char word[1000][16]; int count = 0; fgets(juzi, sizeo...
    头像
    P1393 矩阵转置 题解: 没有附加数组,直接输出
    太一
    #include<iostream> #include<cmath> #include<algorithm> #include<string> #include<map> using namespace std; in...
    头像
    P1662 最少钱币数 题解:
    zsz200268
    #include<bits/stdc++.h> using namespace std; int yuan[6] = {100,50,10,5,2,1}; int main(){     int n;     ...
    头像
    P5380 最短路径条数统计 题解:
    dddd225
    #include<bits/stdc++.h> using namespace std; const int N = 1010; const int MOD = 1e9+7; const int INF = 0x3f3f3f3f; vector<vector&l...
    头像
    浙江工商大学 浙江工商大学信息与电子工程学院2026年硕士研究生复试考生须知
    26考研助手
    各位考生: 欢迎报考浙江工商大学信息与电子工程学院硕士研究生!为方便考生了解我院复试工作相关安排,做好应考准备,以下内容请考生知悉: 一、复试形式和时间安排 目前,我校硕士研究生招生计划尚未下达。待计划正式下达后,我校将第一时间公布复试分数线和复试考生名单,相关信息请考生及时...
    头像
    P5235 字符大小写交替 题解:
    Heart997
    #include<bits/stdc++.h> using namespace std; int main(){     char c;     cin>>c;    &nbs...
    头像
    P1417 八进制 题解:没有比我更简短的
    太一
    #include<iostream> #include<cmath> #include<algorithm> #include<string> using namespace std; int main() {  &nbs...
    头像
    华中科技大学 计算机科学与技术学院2026年硕士复试工作细则、复试名单
    26考研助手
    计算机科学与技术学院2026年硕士复试工作细则见研究生院网页 华中科技大学2026年硕士研究生招生考试复试工作细则(分院系) http://gszs.hust.edu.cn/info/1106/4071.htm。 ‍复试名单见附件。   附件...
    头像
    P1446 日期累加 题解:
    王艺道
    #include<bits/stdc++.h> using namespace std; vector<int> year; vector<int> month; vector<int> day; vector<int>...
    头像
    P1319 畅通工程2 题解:C语言/查并集/路径压缩且优化
    OOOOOIN
    #include<stdio.h> #include<stdlib.h> #include<string.h> #define M 1010 int arr[M];//集 int d[M];//权值 void initial() { ...
    头像
    P1033 细菌的繁殖 题解:
    太一
    #include<iostream> #include<cmath> #include<algorithm> #include<string> #include<map> using namespace std; int ...
    头像
    P1184 放苹果 题解:
    白米饭607
    分为两种情况 苹果多 或 盘子不小于苹果,当苹果多的时候 考虑为盘子少一个的时候(即空出一个盘子)的方案数加上在每个都先放一个苹果之后的方案数(即盘子数不变 苹果数减n)当盘子多于苹果时 必定有空盘子 忽略空盘子(即极限情况下一个盘子放一个苹果 最多有m个盘子被放了苹果 所以 方案数就等于dp...
    头像
    P1544 合并果子 题解:每次从堆中取出两个最小的数,将它们相加,然后把和放回堆中,并累加
    isnotlnln
    #include <iostream> #include <queue> using namespace std; int main() { int n; priority_queue<int,vector<int>,gre...
    头像
    P5339 二进制回文层数 题解:
    qasdzxcv
    #include<iostream> #include<string> #include<algorithm> using namespace std; int main() {     int t;  ...
    头像
    P1950 8位二进制 题解:
    2022214449
    #include <iostream> #include <bits/stdc++.h> using namespace std; int eigh(string s){     int res=0;     int...
    头像
    P1197 吃糖果 题解:
    彻底死去
    #include<iostream> #include<cstdio> #include<cmath> #include<algorithm> #include<string> #include<cstring&...
    头像
    P5368 区间移除 题解:
    lize1317
    #include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; vector<pair<int,int>> segs; for(in...
    头像
    P1261 字符串排序3 题解:cin.ignore()去掉数字后的换行符'\n'
    HKX9XAS
    #include<stdio.h> #include<iostream> #include<algorithm> #include<string> #include<functional> using namespace...
    头像
    P1683 排序后贪心即可:
    mlx
    #include<iostream> #include<algorithm> using namespace std; const int inf=0x3f3f3f3f; int n,k; string s; int main() { ...
    • 1
    • 2
我要提问
全站热榜
1 无法正确通过题目都是哪些原因造成的?
2 机试如何才能快速提高?
3 [置顶]计算机考研择校分析【25考研必读】
4 题目难点:数学公式不断化解
5 详细题解(站在巨人的肩膀上)
6 A+B问题 题解:C
7 逻辑很简单,但是实现却要小心多多
8 【25计算机考研】39所985院校录取分数线汇总
9 广度优先搜索计算每个人移动到每个位置需要去掉障碍物的最少数目,最后求和的最小值
10 2048游戏 题解:简洁实现
关于我们 加入我们 友情链接
NoobDream       The road of your choice, you have to go on !       粤ICP备16082171号-1

哔哩哔哩

官方微信

官方微博