NoobDream 首页 DreamJudge 院校信息 考研初试 考研复试 保研专区 讨论区 兑换中心
登录 注册 上岸
    头像
    P1462 暴力破解
    sevendish
    #include <bits/stdc++.h> using namespace std; int main() {     set<int> posts;     for (int i = 1; i <= 5;...
    头像
    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...
    头像
    P800 活动安排 题解:按结束时间从早到晚排序,然后一个个往后比,开始时间在上一个结束之
    yauqq
    #include <bits/stdc++.h> using namespace std; struct node { int st, ed; }; bool cmp(node x, node y) { return x.ed < y.ed...
    头像
    P1387 查找 - 北邮 题解:string+reverse+substr
    Jinx_K
    #include <bits/stdc++.h> using namespace std; int main() { int n; string s; while (cin >> s) { cin >> n; for...
    头像
    P1264 二叉树2 题解:
    uly
    #include <bits/stdc++.h> using namespace std; int countnum=0; int treavers(int m,int n) {; if(m>n) { return 0; }...
    头像
    P1924 层次遍历 题解:
    dddd225
    #include<bits/stdc++.h> using namespace std; int n; int a[100010]; int idx; typedef struct node{ int data; node* left; node* ...
    头像
    我要提问 【数据结构 P1066 答疑】写出带头结点的双向循环链表L为空表
    小恒邓
    题目链接:写出带头结点的双向循环链表L为空表的条件                  。 请在下方描述您遇到的问...
    头像
    P3666 单词翻转 题解:
    白小纯
    #include <bits/stdc++.h> using namespace std; int main(){     vector<string> list;     string s; &nb...
    头像
    P1464 最大素因子 题解:
    uly
    #include <bits/stdc++.h> using namespace std; bool isPrime(int x) { if (x < 2) return false; for (int i = 2; i * i <= x...
    头像
    P1167 n的阶乘 题解:
    mlx
    #include<iostream> using namespace std; typedef long long ll; ll fact(ll n) { return n<=1?1:n*fact(n-1); } int main() ...
    头像
    P1916 全1字符串 题解:先把连续的1提取出来,再计算
    ryuki
    #include <iostream> #include <vector> #include <string> #include <algorithm> using namespace std; //计数函数 int cou...
    头像
    P1399 排序 - 华科 题解:
    mlx
    #include<iostream> using namespace std; const int N=110; int n,a[N]; void quick_sort(int l,int r) { if(l>=r) return; i...
    头像
    P1642 字符串区间翻转 题解:
    yauqq
    #include<bits/stdc++.h> using namespace std; const int maxn = 10000005; int a[maxn]; int dp[maxn]; int main(){ int n; while(cin &g...
    头像
    P1292 字母统计 题解:
    太一
    #include<iostream> #include<cmath> #include<algorithm> #include<string> using namespace std; int main() {  &nbs...
    头像
    P1134 矩阵翻转 题解:
    mlx
    #include<iostream> using namespace std; const int N=1010; int n; int a[N][N]; int main() { cin>>n; for(int i=0;i<n...
    头像
    P1033 细菌的繁殖 题解:
    上岸啊641
    #include <bits/stdc++.h> using namespace std; int func(int x){     if(x==0) return 1;     return func(x-1)+...
    头像
    河南大学 河南大学2025年各学院(实验室、中心)复试分数线汇总
    考研小帮手
    根据《教育部关于印发〈2025年全国硕士研究生招生工作管理规定〉的通知》(教学〔2024〕4号)文件规定,依据《2025年全国硕士研究生招生考试考生进入复试的初试成绩基本要求》和我校设定的学科门类自命题科目单科最低要求(河南大学2025年硕士研究生复试成绩基本要求),结合各学院(实验室、中心)...
    头像
    P1375 素数 题解:
    uly
    #include <iostream> #include <vector> #include <cmath> using namespace std; const int MAXN = 10001; // is_prime[i] 为 t...
    头像
    P1292 字母统计 题解:
    白米饭607
    //注意!!!要专门处理一下最后一行没有换行符号 !!!找这个问题找了很久很久 #include <stdio.h> #include <vector> using namespace std; bool is_alpha(char c) { &n...
    头像
    P1380 二进制数 题解:懂得进
    Tyu0871
    #include<bits/stdc++.h> using namespace std; int main(){ string ss; while(getline(cin,ss)){ if(ss.empty()) continue; ...
    头像
    P1013 判断素数 题解:
    太一
    #include<iostream> #include<cmath> #include<algorithm> #include<string> using namespace std; int main() {  &nbs...
    头像
    P3501 回文数的判断 题解:
    樱桃小丸犊子
    #include<stdio.h>  int HuiWen(int i){     int remain;     int reverse=0; ...
    头像
    P1541 字符串处理-单词统计 题解:不知道为什么66%
    2034228082
    #include<iostream> #include<cmath> #include<string> #include<algorithm> #include<vector> using namespace std; i...
    头像
    P1264 二叉树2 题解:c++,不递归,用层序遍历的队列思想也行
    bro
    #include <bits/stdc++.h> using namespace std; int main(){     int m,n;     while(cin >> m >> n){  ...
    头像
    P1678 走路还是坐公交 题解:通过动态规划求解
    我的台灯满电了
    #include<iostream> using namespace std; int dp[200005];//i表示此时的坐标,dp[i]表示此时移动了几步  int main(){     int n,k;//n为人初始...
    头像
    P1678 走路还是坐公交 题解,感觉逻辑挺清晰喵:
    liux662
    #include<bits/stdc++.h> using namespace std; const int N = 1e5 + 9; int mp[N]; bool vis[N]; bool inmp(int x) { if(x < 1 || x &...
    头像
    P1972 最大的组合 题解:
    快乐小土狗
    #include <stdio.h> int main() { int n; // 输入n (n<1000) scanf("%d", &n); // 第一步:找到最大的、能被7整除的总和 target_total ...
    头像
    P1388 查找1 题解:
    太一
    #include<iostream> #include<cmath> #include<algorithm> #include<string> using namespace std; int main() {  &nbs...
    头像
    P1646 TAT的个数 题解:统计A左边有几个T,右边有几个T,dp,前缀和
    岸上的乌龟
    通过率百分之50原因:int cnt溢出,要用long long;判断一下全为A或全为T的情况。 #include <bits/stdc++.h> using namespace std; int main() {     string s; &...
    头像
    P1221 旋转矩阵 题解:
    HKX9XAS
    #include #include using namespace std; void cover(int n, int m,int orig[100][100],int c[100][100]){        /...
    头像
    P1040 利润提成 题解:c++
    jerryking
    #include<iostream> using namespace std; int main(){     long long profit; // 使用 long long 防止溢出     double bonus =...
    头像
    P1311 继续畅通工程 题解:Kruskal
    litery
    #include <bits/stdc++.h> using namespace std; const int maxn=105; struct edge{ int u,v,w; }edges[maxn*maxn]; bool compare(edge ...
    头像
    P1412 大整数排序 题解:
    yauqq
    #include<bits/stdc++.h> using namespace std; bool cmp(string a,string b){ int lena =a.length(); int lenb =b.length(); if(lena != ...
    头像
    P1259 进制转换2 题解:模拟
    Tyu0871
    #include<bits/stdc++.h> using namespace std; int main(){ string ss; while(getline(cin,ss)){ long long temp=0; for(int i=...
    头像
    P1426 最大公约数1 题解:
    ZeroQi_404
    #include <iostream> #include <algorithm> using namespace std; int gcb(int a,int b){ if(b==0)return a; return gcb(b,a % b); ...
    头像
    P1311 继续畅通工程 题解:kruskal算法 1时加入并查集0时创建待选节点 模板变形
    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) ...
    头像
    P5326 最大同码距数 题解:贪心构造
    快乐小土狗
    #include <cstdio> #include <algorithm> using namespace std; int main() { int T; scanf("%d", &T); while (T--) ...
    头像
    P1008 1008二进制0和1的个数(不要忽略掉int的问题!!!!)
    莫小七
    #include #include using namespace std; int main() { bitset<32>bit;//bitset中只有“0”,“1”两个元素,且每个元素只占1bit空间...
    头像
    P5129 简单的背包问题 题解:
    kkkkkkllll
    #include<iostream> #include<vector> using namespace std; int main(){     int s,n,x;     while(cin>>s>...
    头像
    P3666 单词翻转 题解:
    ccchen
    #include <stdio.h> #include <string.h> int main() {     char a[10000];          fgets(a, sizeof...
    头像
    P5293 统计字符数 题解:
    上岸啊641
    #include <bits/stdc++.h>  //H-统计字符数  using namespace std; int main() {     string s;     while(c...
    头像
    P1931 兔子数量 题解:
    18132254984
    #include<bits/stdc++.h> using namespace std; int main(){     int n;     while(cin>>n){    ...
    头像
    P1013 判断素数 题解:
    太一
    #include<iostream> #include<cmath> #include<algorithm> #include<string> using namespace std; int main() {  &nbs...
    头像
    P1931 兔子数量 题解:C:斐波那契数列
    阿坤
    #include<stdio.h> int res(int n); int main(){ int n,sum; while( scanf("%d",&n)!=EOF ){ sum=res(n); printf("%d\n",sum);...
    头像
    P1401 二叉树遍历2 题解:c++
    bro
    #include <bits/stdc++.h> using namespace std; typedef struct node{     char data;     node *left,*right; }*Tree; ...
    头像
    P1221 旋转矩阵 题解:C语言,拆分多步解决
    yourgaba233
    #include <stdio.h> #include <stdlib.h> void type_2(int A[101][101],int m,int n){//纵轴对称     int i,j;     int t...
    头像
    P1722 身份证校验 题解:
    Cat111
    #include <bits/stdc++.h> using namespace std; int main(){ char snum[20]; while(scanf("%s",snum)==1){ if(strlen(snum)!=18...
    头像
    P1478 喝饮料 题解:贪心
    MEGURI
     #include <bits/stdc++.h>   using namespace std;     double suan(int x, int n){       int i, j...
    头像
    P1362 字符串去特定字符 题解:
    mlx
    #include<iostream> using namespace std; string str; char c; int main() { while(cin>>str) { cin>>c; ...
    头像
    P2019 字母排序 题解:排序万能法:sort函数
    武侠剧
    #include <iostream> #include <vector> #include <algorithm> #include <iomanip> #include <set> #include <list&g...
    • 1
    • 2
我要提问
全站热榜
1 无法正确通过题目都是哪些原因造成的?
2 [置顶]计算机考研择校分析【25考研必读】
3 机试如何才能快速提高?
4 题目难点:数学公式不断化解
5 A+B问题 题解:C
6 详细题解(站在巨人的肩膀上)
7 逻辑很简单,但是实现却要小心多多
8 【25计算机考研】39所985院校录取分数线汇总
9 广度优先搜索计算每个人移动到每个位置需要去掉障碍物的最少数目,最后求和的最小值
10 【23计算机考研】39所985院校录取分数线汇总
关于我们 加入我们 友情链接
NoobDream       The road of your choice, you have to go on !       粤ICP备16082171号-1

哔哩哔哩

官方微信

官方微博