主站
DreamJudge
院校信息
专业题库
模拟考试
机试真题
专业课程
讨论区
兑换中心
登录
注册
上岸
搜索
推 荐
择校分析
笔经面经
学习交流
我要提问
站内公告
调剂专题
精彩爆料
解题报告
我要提问
1394题可以帮忙看看吗?
等等
回复 1
|
赞 0
|
浏览 20
#include<bits/stdc++.h> using namespace std; int main(){ string s; while(getline(cin,s)){ &nbs...
我要提问
1381 只有25%
DestinyCares+++
回复 2
|
赞 0
|
浏览 144
#include<iostream> #include<cstring> #include<string> #include<queue> using namespace std; struct node{  ...
我要提问
软工求解
我爱陈少熙
VIP
回复 1
|
赞 0
|
浏览 98
数据流图中不是没有控制流吗
我要提问
本地正确输出提交输出错误
rainberry
VIP
回复 1
|
赞 0
|
浏览 107
题号1382 哈夫曼树在输入为 2 2 8 3 5 11 30 的情况下在本地跑输出 为10 62 提交后错误答案显示我输出为10 78是为什么呢 #include<stdio.h> #include<stdlib.h> ...
我要提问
大佬帮我看看为啥只对60%,1067括号匹配
北海北
回复 6
|
赞 0
|
浏览 176
#include using namespace std; int main() { int n; cin>>n; for(int i=0; i { ...
我要提问
N诺c++编译器
15275372321
回复 1
|
赞 0
|
浏览 93
有没有人知道N诺的C++编译器用的是什么?祝大家都能上岸
我要提问
本地运行输入同样的数据的输出和提交后的错误输出不一样
rainberry
VIP
回复 2
|
赞 0
|
浏览 126
题号1560 Special数在输入为 5 1 100 1000 5000 10000 的情况下在本地跑输出 为1 2 3 4 4提交后错误答案显示我输出为 #include #include int cal2(int num){ &nbs...
我要提问
字符串区间翻转 只有80%
DestinyCares+++
回复 2
|
赞 0
|
浏览 128
#include<iostream> #include<string> #include<cstring> #include<algorithm> using namespace std; const int maxn = 100000...
我要提问
链表合并 只有66%
DestinyCares+++
回复 6
|
赞 0
|
浏览 158
#include<iostream> #include<string> #include<cstring> #include<algorithm> using namespace std; typedef struct Lnod...
我要提问
反序相等 为什么会超时啊
DestinyCares+++
回复 1
|
赞 0
|
浏览 96
#include<iostream> #include<cstring> #include<string> using namespace std; int main(){ for(int i=1000;i...
我要提问
题号1690 语法错误,但是VS上运行成功了的
WRW
VIP
回复 3
|
赞 0
|
浏览 121
#include<stdio.h> #include<stdlib.h> #include<math.h> #include<string.h> //#include<> //#include<> usin...
我要提问
模拟考试1 为什么只有55%
DestinyCares+++
回复 2
|
赞 0
|
浏览 133
#include<iostream> #include<cstring> #include<algorithm> using namespace std; const int maxn = 1005; int arr[maxn]; int m...
我要提问
为啥老是编译出错啊,它提示数组定义有问题
哈哈宝宝游泳
VIP
回复 6
|
赞 0
|
浏览 120
#include<iostream> #include<vector> #include<map> #include<algorithm> #include<math.h> #include<string.h>...
我要提问
求该题的思路
哈哈宝宝游泳
VIP
回复 1
|
赞 0
|
浏览 77
我要提问
明明的随机数 为什么output exceed
DestinyCares+++
回复 2
|
赞 0
|
浏览 110
#include<iostream> #include<cstring> #include<string> #include<algorithm> #include<cstdlib> #include<ctime>...
我要提问
题号1895,二维数组输入问题C++
WRW
VIP
回复 1
|
赞 0
|
浏览 135
动态分配二维数组并且输入值可以这样写吗,网上看到的这样的写法,但是VS上一直显示数组无法读取内存 char** T = (char**)malloc(n * sizeof(char*)); for (int i = 0; i...
我要提问
成绩排序问题-1151
liujia
VIP
回复 2
|
赞 0
|
浏览 116
我的代码如下 提交后数据通过率为66% 检查错误数据对比也没看到哪里有错 我自己看不出哪里有问题 请大佬帮忙看看~谢谢您 #include<stdlib.h> #include<iostream> #include<string.h> us...
我要提问
1698文件 处理
哈哈宝宝游泳
VIP
回复 7
|
赞 0
|
浏览 168
为啥会多输出换行啊 #include<iostream> #include<vector> #include<map> #include<algorithm> #include<math.h> #include&...
我要提问
数组排序为什么不对
DestinyCares+++
回复 2
|
赞 0
|
浏览 130
#include<iostream> #include<cstring> #include<string> #include<vector> #include<queue> #include<stack> #i...
我要提问
devc++可以自动在合适的地方加空格吗?
yanmo
VIP
回复 1
|
赞 0
|
浏览 118
int j = 0; next[0] = 0; for(int i = 1; i < s.size(); i++) { while (j > 0 && s[i] != s[j]) { ...
我要提问
判断二叉树是否对称 55%
DestinyCares+++
回复 2
|
赞 0
|
浏览 164
#include<iostream> #include<cstring> #include<string> #include<queue> using namespace std; typedef struct Tnode { &...
我要提问
字符串匹配的问题求解,头痛
我爱陈少熙
VIP
回复 10
|
赞 0
|
浏览 214
这是两个字符串s1,s2跟字符串s匹配的问题,求匹配的两个字符串的最大间隔。求问第二个字符串匹配(从s的末尾开始跟s2的末尾倒着匹配便于解题)的算法错在哪里了?(为了看到匹配情况我把两个匹配的字符输出了,但是输出的结果怪怪的),第一个匹配就没问题 char s[300],s2[10],s...
我要提问
题号1151
WRW
VIP
回复 2
|
赞 0
|
浏览 175
题号1151 通过率只有66,但是对比输出数据并无错误,不知道jv 代码如下: #include #include #define MAX 50 //构造结构体成绩信息 typedef struct Stu { ...
我要提问
1411二叉排序树
哈哈宝宝游泳
VIP
回复 1
|
赞 0
|
浏览 114
为啥这样创建二叉排序树,遍历输出的时候啥也输出不出来啊,求大佬解答 #include<iostream> #include<vector> #include<map> #include<utility> #include<...
我要提问
1412大整数排序
哈哈宝宝游泳
VIP
回复 3
|
赞 0
|
浏览 124
对字符串先进行字典排序然后按照长度排序为啥不对啊,只能通过百分之六十,求大佬解答 #include<iostream> #include<vector> #include<map> #include<utility> #incl...
我要提问
二叉树遍历 为啥一直Runtime Error 求解
Fljjjj
回复 2
|
赞 0
|
浏览 167
# 地址:1161 - 二叉树遍历 _N诺计算机考研 (noobdream.com) #include <iostream> #include <string> using namespace std; struct Node { &nbs...
我要提问
为啥这样写通过不了啊
渐鸿于陆
VIP
回复 2
|
赞 1
|
浏览 207
n个数的最小公倍数 题目描述 Time Limit: 1000 ms Memory Limit: 256 mb 求n个数的最小公倍数。 输入输出格式 输入描述: 多组测试数据,第一行一个数n (0 < n <= 10),...
我要提问
c++求二维数组的每行之和
我爱陈少熙
VIP
回复 1
|
赞 0
|
浏览 132
哪里出错了呀,怎么题目系统显示编译错误嘞,我在编译器上执行的好好的呀 #include <iostream> using namespace std; #define N 10 void row_sum(int m,int n,int a[N][N],int* re...
我要提问
二叉排序树中寻找p和q的最近公共祖先
yanmo
VIP
回复 1
|
赞 0
|
浏览 124
TreeNode* search(TreeNode* root, TreeNode* p, TreeNode* q) { if(root->val>=min(p->val,q->val)&&root->val<=...
我要提问
为什么没有输出啊?调试的时候报错program receive signal s
yanmo
VIP
回复 1
|
赞 0
|
浏览 93
#include<bits/stdc++.h> using namespace std; bool istrue(int a, int b, int c, int d){ int ans1=a*b*c*d; int ans2=a*b*c+d; int ans3=...
1
2
3
...
5
我要提问
近期热门
1
N诺成就值出炉,帮你一眼识别大神
2
机试如何才能快速提高?
3
[置顶]计算机考研择校分析【25考研必读】
4
广度优先搜索计算每个人移动到每个位置需要去掉障碍物的最少数目,最后求和的最小值
5
1377旋转矩阵
6
ip地址(C)
7
简单易懂
8
C++递归解法,有注释
9
1017 幂次方 快速幂模板
10
计算机考研复试笔记——操作系统篇