首页
DreamJudge
院校信息
考研初试
考研复试
保研专区
讨论区
兑换中心
登录
注册
上岸
数据库 1021
在SQL中视图是由( )产生的虚表。
18919717626
基本表
数据库 1117
什么是事务?
Branden
数据库恢复和并发控制的基本单位,是由用户定义的一个数据库操作序列,具有原子性
P1312
畅通工程 题解:
uly
#include <bits/stdc++.h> using namespace std; const int Max = 105; int fa[Max]; struct node { int u,v,w; }; int find(int x) ...
P1294
后缀子串排序 题解:自定义排序
exiol
#include<bits/stdc++.h> using namespace std; int main() { string s; while(cin>>s)  ...
P5127
动态查找的问题 题解:
Tyu0871
哈希表直接映射 #include <stdio.h> int main(){ int map[100001]={0}; //读取集合(集合的元素不重复) int n; scanf("%d",&n); int num[n]...
P1151
成绩排序 题解:
Adelaide111
#include <bits/stdc++.h> using namespace std; int main() { int n,type;//个数,排序方法 while(cin>>n>>type){ mu...
P1051
日期计算 题解:
driftBaron
#include<iostream> #include<algorithm> using namespace std; struct a{ int year; int month; ...
P1659
回文串问题 题解:
太一
#include<iostream> #include<cmath> #include<algorithm> #include<string> #include<map> using namespace std; in...
P1941
堆排序问题 题解:
快乐小土狗
#include <stdio.h> // 堆化函数:调整以i为根的子树为大顶堆,统计交换次数 void heapify(int arr[], int n, int i, int *swap_count) { int largest = i; //...
P1382
哈夫曼树 题解:priority_queue->minHeap
Jinx_K
#include <bits/stdc++.h> using namespace std; int main() { int n; while(cin>>n) { priority_queue<int,vector<int&g...
我要提问
【数据结构 P1011 答疑】通常从正确性、易读性、健壮性、高效
15754807097
题目链接:通常从正确性、易读性、健壮性、高效性等4个方面评价算法的质量,以下解释错误的是 请在下方描述您遇到的问题:
P1082
Hanoi塔问题 题解:
dddd225
#include<bits/stdc++.h> using namespace std; int cnt = 0; void Hanoi(char from, char to, char mid, int x){ if(x==1){ cout<<fr...
P5365
分数化小数 题解:
LEtranger
#include<iostream> #include<vector> using namespace std; int main(){ int n; cin >> n; int a, b, c; int integer = 0...
P1177
查找学生信息 题解:
官wy
那这个m的意义是什么,我还以为要限制范围 #include <bits/stdc++.h> using namespace std; int main(){ int n,m; int sum[...
P8707
求长方体表面积 题解:
快乐小土狗
#include <iostream> using namespace std; // 长方形基类 class rectangle { protected: int length; // 长 int width; // 宽 public:...
P1124
devc++跑得了,不知道哪里错了 题解:
Liang_Pan
#include<bits/stdc++.h> using namespace std; struct node{ int x,y; }; const int maxn = 105; char mpt[maxn][maxn]...
P5293
统计字符数 题解:开数组
叉叉
#include<iostream> #include<string> using namespace std; int main(){ string s; cin>>s; ...
P1062
杨辉三角形 题解:还是比较清晰简单且暴力的
New_chapter
#include<iostream> using namespace std; #include<string> int main(){ int n; while(cin>>...
P5384
乘法奥义 题解:
LEtranger
#include <iostream> #include <vector> #include <cmath> #include <climits> using namespace std; vector<int> n...
P2006
字符串对齐 题解:
ryuki
#include <iostream> #include <vector> #include <string> using namespace std; int main() { //输入 int n; char...
P1010
排序 题解:
yauqq
#include<bits/stdc++.h> using namespace std; bool cmp(int a, int b) { if (a % 2 != b % 2) return a % 2 > b % 2; return a < ...
P1662
最少钱币数 题解:
uly
#include <bits/stdc++.h> using namespace std; int change(int n ,int money) { int ans = n/money; return ans; } int main() ...
P1111
斐波那契数列 题解:
这里是小小菊
#include<bits/stdc++.h> using namespace std; //要求输出64位数据,用int会溢出 long long num[80]; int main(){ num[0] = 1; &n...
P1296
括号匹配问题 题解:栈中直接存括号的解法
HKX9XAS
#include<stdio.h> #include<iostream> #include<stack> #include<string> #include<algorithm> using namespace std;...
写作
2025年考研英语(一)考试试题 - 第44题回答
LaJeunesse
The table provides a revealing glimpse into the steady growth of major durable consumer goods owned per 100 households in China from 2014 to 2023. ...
P5386
中缀表达式转后缀表达式 题解:
sadhjksdj
#include<bits/stdc++.h> using namespace std; //定义运算符的优先级 int priority(char op){ if(op == '*' || op == '/...
P8697
自定义字符串排序 题解:
kkkkkkllll
#include<iostream> #include<vector> #include<math.h> #include<set> #include<algorithm> #include<map> #inc...
P1035
简单背包问题 题解:c++
bro
#include <bits/stdc++.h> using namespace std; int dp[1008][1008]; int w[1008]; int main(){ int n,s; ...
P1935
赛车游戏 题解:
滴滴答答302
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <math.h> int num[100005]; int max(int x,int y) ...
P1294
后缀子串排序 题解:
Cat111
#include <bits/stdc++.h> using namespace std; bool compareword(char *a,char *b){ return strcmp(a,b)<0; } int main(){ c...
P1396
二叉排序树 - 华科 C语言题解:递归查找,根据返回值输出父结点
yourgaba233
#include <stdio.h> #include <stdlib.h> typedef struct TNode{//结点 int id; struct TNode* lchild;  ...
P1401
二叉树遍历2 题解:
uly
#include <bits/stdc++.h> using namespace std; //前中序建树 string s = ""; void buildPost(string pre ,string in) { if (pre == "") ...
概率论
2025年考研数学(一)考试试题 - 第16题回答
admin
0 评分及理由 (1)得分及理由(满分5分) 学生作答为“0”。本题要求计算在A、B至少有一个发生的条件下,A、B中恰有一个发生的概率。这是一个条件概率问题,需要利用事件独立性和给定的概率关系进行求解。 设 \( P(B) = x \),则 \( P(A) = 2x \)。由于A与B相互独...
P1209
刷出一道墙 题解:差分数组
uly
#include <bits/stdc++.h> using namespace std; const int MAXN = 200005; // 根据题目范围调整,如果坐标范围不大可以用这个 int diff[MAXN]; int main() { ...
P1413
N阶楼梯上楼问题 题解:c++ ,递归这么写
bro
#include <bits/stdc++.h> using namespace std; long long num[95]; long long step(int n){ if(num[n] != 0) return num[n]; &...
P1111
斐波那契数列 题解:while更新数组
Tyu0871
兄弟们最爱的动态规划入门第一题: #include <bits/stdc++.h> using namespace std; long long a[75]={0};//不用longlong后面会爆掉 int main() { a[0]=1,a[1]...
P1221
旋转矩阵 题解:
HKX9XAS
#include #include using namespace std; void cover(int n, int m,int orig[100][100],int c[100][100]){ /...
P1377
旋转矩阵 - 北航 题解:
xiaoboQAQ
#include<bits/stdc++.h> using namespace std; int change(int n,int a[10][10]){ int c[10][10]; for(int i=1;i<=n;i++){ f...
P5348
累加求和 题解:
123456pan
#include<bits/stdc++.h> using namespace std; bool cmp(tuple<int, int, int>p1, tuple<int, int, int>p2) { re...
P5286
三个数的和 题解:
lize1317
#include <bits/stdc++.h> using namespace std; unordered_map<int,int> mp; set<tuple<int,int,int>> st; int main() { ...
P1977
计算样本峰度 题解:用函数模块化,好排错
HKX9XAS
#include<stdio.h> #include<iostream> #include<string> #include<vector> #include<math.h> using namespace std; ...
P1929
简单排序 题解:
太一
#include<iostream> #include<cmath> #include<algorithm> #include<string> #include<map> using namespace std; in...
P5104
约瑟夫问题的实现 题解:C语言实现,详细注释
无名吟
#include<stdio.h> #include<stdlib.h> void main(){ int n, k; scanf("%d\n%d", &n, &k); int *arr = (int*)malloc((n+1)*...
北京工商大学
计算机与人工智能学院2025年硕士研究生招生复试一志愿录取工作方案
考研小帮手
计算机与人工智能学院2025年硕士研究生招生复试 一志愿录取工作方案 1.招生计划及一志愿复试分数 学院硕士专业一志愿的最低复试分数线的总分及单科分等相关情况如下表,总分相同时不分先后均可参加面试,录取招生计划以实际下达为准,专项计划分数线以学校招办分数线为准。一志愿复试学生...
P1380
二进制数 题解:
ZeroQi_404
#include <iostream> using namespace std; int main(){ int n; while(cin >> n){ if(n==0){ cout << 0 << en...
P1476
查找学生信息2 题解:
ljh61
#include <bits/stdc++.h> using namespace std; struct stu{ string num; string name; &n...
P2007
奇数还是偶数 题解:
ccchen
#include #include int main(){ char bin[1000]; char how[]= "abcdefghijklmnopqrstuvwxyz"; while(scanf("%s&quo...
P1041
最大公约数和最小公倍数 题解:GCD
Tyu0871
#include<bits/stdc++.h> using namespace std; //gcd 辗转相除法 int gcd(int m,int n){ while(n){//gcd(18,12)=gcd(12,6)=gcd(6,0)==>m = ...
P1704
输出图形 题解:
emotionalbug
```c++ #include <iostream> #include <iomanip> // 必须包含这个头文件,用于使用 setw 和 left using namespace std; int main() { int n; ...
P1216
旋转方阵 题解:
uly
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; int mat[...
P1009
随机数 题解:挑战最短代码
williams
#include <stdio.h> int main(){ printf("210"); }
P1261
字符串排序3 题解:
uly
#include <bits/stdc++.h> using namespace std; int main() { int n; while (cin>>n) { cin.ignore(); vect...
1
2
我要提问
全站热榜
1
无法正确通过题目都是哪些原因造成的?
2
[置顶]计算机考研择校分析【25考研必读】
3
机试如何才能快速提高?
4
题目难点:数学公式不断化解
5
详细题解(站在巨人的肩膀上)
6
A+B问题 题解:C
7
逻辑很简单,但是实现却要小心多多
8
【25计算机考研】39所985院校录取分数线汇总
9
广度优先搜索计算每个人移动到每个位置需要去掉障碍物的最少数目,最后求和的最小值
10
2048游戏 题解:简洁实现