首页
DreamJudge
院校信息
考研初试
考研复试
保研专区
讨论区
兑换中心
登录
注册
上岸
P1019
字母频率 题解:
奶龙大王
Map+cctype判断字母与大小写转换函数写法 #include <iostream> #include <map> #include <cctype> // for isalpha, tolower #inc...
P1221
旋转矩阵 题解:
shushu990
#include<iostream> using namespace std; int a[101][101]; int b[101][101]; int n,m; void sturn() { for(int i=1;i<=max(n,m);i++) f...
P1001
01序列 题解:
mlx
#include<iostream> #include<vector> #include<algorithm> using namespace std; void print(int x) { vector<int> num...
P1134
矩阵翻转 题解:
yauqq
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; int a[n][n]; for(int i=0;i<n;i++){ for(int ...
P1097
负二进制 题解:c++
bro
#include <bits/stdc++.h> using namespace std; //十进制转负二进制 int main(){ int num; while(cin >> num){ ...
P1399
排序 - 华科 题解:
曾不会
n=input() s=list(map(int,input().split())) k=sorted(s) for i in k: print(i,end=' ')
政治
2026年考研思想政治理论考试试题 - 第27题回答
mscmscmsc
ABD 评分及理由 本题为多项选择题,标准答案为BC。学生作答为ABD。 根据题目论述,核心是“党的主要创始人和一些早期的著名活动家,在北大工作或学习期间,开始阅读、传播马克思主义并推动建党”。 选项B(李大钊组织成立马克思主义学说研究会):李大钊是北大教授,该研究会是1920年在北大成立...
华北电力大学(保定)
华北电力大学(保定)计算机系2025年硕士研究生复试及录取实施细则
考研小帮手
根据《华北电力大学(保定)2025年硕士研究生复试及录取工作办法》,结合我系的实际情况,制定华北电力大学(保定)计算机系2025年硕士研究生复试及录取实施细则。 一、复试报到及现场资格审查 时间:2025年3月28日8:30-11:30 地点:华北电力大学(保定)二校区教十楼...
P1404
成绩排序 - 华科 题解:
曾不会
n=int(input()) s=[] for i in range(n): name,old,score=list(input().split()) old=int(old) score=int(score) s.append((name,ol...
P1180
最简真分数 题解:
曾不会
#include<stdio.h> int fun(int x,int y) { for(int i=2;i<=x;i++) {  ...
P2021
整数去重 题解:
mlx
#include<iostream> #include<cstring> using namespace std; const int N=20010; int n; int x; int s[N]; int main() { while...
政治
2026年考研思想政治理论考试试题 - 第24题回答
yyyyyyyyyyy
ABCD 评分及理由 本题为多项选择题,标准答案为ABCD。学生作答为“ABCD”,与标准答案完全一致。 根据题目打分要求:正确则给2分,错误则给0分,多选或少选给0分。学生答案正确,无逻辑错误,思路与标准答案一致,符合给分条件。 题目总分:2分
P1388
查找1 题解:
mlx
#include<iostream> #include<cstring> using namespace std; const int N=1010; int n,m,s[N]; int main() { while(cin>>...
P1544
合并果子 题解:
mlx
#include<iostream> #include<queue> using namespace std; priority_queue<int,vector<int>,greater<int>> q; int n...
P1040
利润提成 题解:
mlx
#include<iostream> using namespace std; int main() { double x,res; cin>>x; if(x<=100000) res=x*0.1; else if(x<=...
P1176
十进制和二进制 题解:
dddd225
#include<bits/stdc++.h> using namespace std; int div2(string &s){ int remainder = 0; for(...
P1414
回文字符串 题解:
yauqq
#include<bits/stdc++.h> using namespace std; int main(){ string str; while(cin >> str){ string str2 = str; reverse(str.b...
P1320
统计字符 题解:需要考虑l2中没有的情况
曾不会
while(1): try: n1=list(input()) # n1=input() ...
P1006
字符串翻转 题解:
jerryking
#include<stdio.h> #include<string.h> int main(){ char str[100]={0}; fgets(str,sizeof(str),std...
P1259
进制转换2 题解:
星空菌
#include<bits/stdc++.h> using namespace std; //从末尾开始累加 long long hexToDec(string s){ long long int sum = 0; int term = 0...
P1542
这是第几天? 题解:
1320118056
#include<iostream> #include<cstdio> using namespace std; int months[13] = {0,31,28,31,30,31,30,31,31,30,31,30,31}; bool is_...
P1016
字符分类 题解:
yauqq
#include<bits/stdc++.h> using namespace std; int main(){ string str; cin >> str; string str1[100]; string str2[100]; stri...
P1722
身份证校验 题解:
曾不会
//用数组保存各个位置的数, #include<stdio.h> #include<string.h> using namespace std; int q[18]={7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2}; char y...
P1003
翻转数的和 题解:
奶龙大王
#include <stdio.h> #include <string.h> #include<iostream> using namespace std; int fz(int a){ &...
P1016
字符分类 题解:C++
Jun_
#include<stdio.h> #include <iostream> #include<math.h> #include <stdlib.h> #include <string> #include<algorit...
P1501
括号匹配 题解:
奶龙大王
stack模拟过程:左括号入栈,出现右括号取顶判断,模拟过程 #include <iostream> #include <map> #include <cctype> // for isalpha, t...
P1006
字符串翻转 题解:
mlx
#include<iostream> #include<algorithm> using namespace std; string str; int main() { cin>>str; reverse(str.begin()...
P4967
进制转换问题 题解:
mlx
#include<iostream> #include<vector> #include<algorithm> using namespace std; vector<int> a; int n; int main() { ...
政治
2026年考研思想政治理论考试试题 - 第30题回答
yyyyyyyyyyy
ABD 评分及理由 本题为多项选择题,标准答案为ABD。 学生作答为“ABD”,与标准答案完全一致。 根据题目说明:“正确则给2分,错误则给0分,多选或少选给0分”。学生答案正确,应得满分2分。 因此,本题得分为:2分。 题目总分:2分
华北电力大学(保定)
计算机系-2025年一志愿考生复试名单
考研小帮手
附件:计算机系2025年一志愿考生复试名单
P2007
奇数还是偶数 题解:
mlx
#include<iostream> using namespace std; int n; int main() { cin>>n; if(n%2==0) cout<<"even number"; else co...
P5260
字符串是否合法 题解:
一字清若杰
#include <bits/stdc++.h> using namespace std; bool judgment(char a, char b){ if (a >= 'a' &&a...
P1180
最简真分数 题解:
奶龙大王
GCD两种求法及其原理,和注意细节-最大公约数 #include <iostream> #include <vector> #include <algorithm> #include <numeric> // C+...
P1013
判断素数 题解:
曾不会
#include<stdio.h> #include<math.h> int fun(int x) { for(int i=2;i<=sqrt(x)+1;i++) { &nbs...
P1259
进制转换2 题解:
曾不会
#include<stdio.h> #include<string.h> int main() { //输入 char s[100]; char...
P1500
求S(n) 题解:
奶龙大王
FMOD与POW函数 #include <iostream> #include <cmath> // 必须包含 cmath using namespace std; int main() {  ...
P1084
陶陶摘苹果 题解:c++ ,正常写
bro
#include <bits/stdc++.h> using namespace std; int main() { int sum = 0; int num[11] = {0}; ...
P1025
链表合并 题解:
曾不会
链表思想: #include<bits/stdc++.h> using namespace std; int main() { int n1=0; int a[210]; &n...
P1177
查找学生信息 题解:
奶龙大王
哈希表计数法 #include <stdio.h> #include <string.h> #include<iostream> using namespace std; int...
P1410
打印日期 题解:只有60% ,求大佬提点
OIsay-good
#include<stdio.h> struct node { int year,month,day,x; }p; int s[13]={0,31,28,31,30,31,30,31,31,30,31,30,31}; ...
P1095
Y/N 题解:
yauqq
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d; while(cin >> a >> b >> c >> d){ if((...
P1026
删除字符串 题解:c++采用字符串相关函数写法
bro
#include <bits/stdc++.h> using namespace std; int main() { string s; cin >> s; string...
P1472
2048游戏 题解:简洁实现
qianqiangotoTHU
过了之后本来想看看有没有好玩的解法的,但是看到目前的题解都比较臃肿,要用100行以上代码实现,就打算分享一下自己的50+行代码的思路。 一、简洁实现四个方向 代码长主要是因为要实现四个方向的遍历,如果写四遍两层循环就巨麻烦 观察可以发现,只要对循环变量i j做一定的变换,就能...
P1034
水仙花数 题解:
曾不会
#include<stdio.h> int fun(int x) { int to=0; int xx=x; int k; &nbs...
P1978
选择排序 题解:c++
Jun_
#include<stdio.h> #include <stdlib.h> #include <iostream> //#include<math.h> //#include <string> #include<vec...
P1027
删除字符串2 题解:c++ 采用字符串的函数方法
bro
#include <bits/stdc++.h> using namespace std; int main() { string str; cin >> str; st...
P1410
打印日期 题解:
奶龙大王
前导零printf补足方法,0x #include <iostream> #include <map> #include <cctype> // for isalpha, tolower #include <...
P1479
01字符串 题解:
曾不会
#include<stdio.h> int main() { int n; scanf("%d",&n); long long i...
湖北工业大学
湖北工业大学计算机学院2025年硕士研究生招生调剂工作实施细则
考研小帮手
根据《教育部关于印发<2025年全国硕士研究生招生工作管理规定>的通知》(教学〔2024〕4号)、《湖北工业大学2025年硕士研究生招生调剂工作办法》等文件要求,结合我院研究生招生工作具体情况,制订本实施细则。 一、组织管理 1.学校调剂工作在校研究生招生工作领导小组的...
P2020
字符串转化 题解:
yauqq
#include<bits/stdc++.h> using namespace std; int main(){ string str; while(cin >> str){ int sum = 0; for(char c:str){ ...
1
2
我要提问
全站热榜
1
无法正确通过题目都是哪些原因造成的?
2
[置顶]计算机考研择校分析【25考研必读】
3
机试如何才能快速提高?
4
题目难点:数学公式不断化解
5
【25计算机考研】39所985院校录取分数线汇总
6
A+B问题 题解:C
7
【23计算机考研】39所985院校录取分数线汇总
8
逻辑很简单,但是实现却要小心多多
9
计算机/软件学校排名!全国第五轮学科评估结果
10
1017 幂次方 快速幂模板