主站
DreamJudge
院校信息
专业题库
模拟考试
机试真题
专业课程
讨论区
兑换中心
登录
注册
上岸
搜索
推 荐
择校分析
笔经面经
学习交流
我要提问
站内公告
调剂专题
精彩爆料
解题报告
我要提问
北邮最短路径 75%
DestinyCares+++
回复 1
|
赞 0
|
浏览 104
#include<iostream> #include<vector> #include<queue> #include<climits> #include<string> #include<cstring> ...
我要提问
最短路径问题 为什么不对
DestinyCares+++
回复 3
|
赞 0
|
浏览 98
#include<iostream> #include<cstring> #include<string> &n...
我要提问
中南大学1673士兵排阵
哈哈宝宝游泳
VIP
回复 3
|
赞 0
|
浏览 102
这个答案里的对坐标x统一都-i是什么意思啊,为啥要对x这样处理排序之后就是最少步数啊,求大佬解答 #include<bits/stdc++.h> using namespace std; //看完题我们会发现,其实y轴我们可以不考虑,而x轴是散乱的,如何将它们统一呢...
我要提问
模考
qwertasd
回复 1
|
赞 0
|
浏览 81
为什么报名了模拟考试里面只有一个题目
我要提问
1565 最短路
yanmo
VIP
回复 1
|
赞 0
|
浏览 119
struct Edge{ int u,v,w; Edge(int u, int v, int w):u(u),v(v),w(w){};//这一行是啥意思? };
我要提问
复旦大学机试:解一元一次方程
yusheng
VIP
回复 3
|
赞 0
|
浏览 84
#include<bits/stdc++.h> using namespace std; int hh(string s)//统计x的系数 { int ans=0; for(int i...
我要提问
求解答为何第一个代码运行第二次输入直接结束了
我爱陈少熙
VIP
回复 3
|
赞 0
|
浏览 233
已知这些整数的绝对值都小于100,每组整数的数量不少于1个,不大于20个。 输入格式 首先输入K(不小于2,不大于20)。每一行输入一组数据(至少有一组数据),每组至少有一个数据,在有多个数据时,两个数据之间有1到3个空格。最后一行输入100,标志输入的结束。 输出格式 ...
我要提问
确定比赛名次 只有50%
DestinyCares+++
回复 1
|
赞 0
|
浏览 147
#include<iostream> #include<cstring> #include<string> #include<queue> #include<vector> using namespace std; c...
我要提问
简单背包问题 这是什么错误
DestinyCares+++
回复 1
|
赞 0
|
浏览 163
#include<iostream> #include<string> #include<cstring> using namespace std; int main() { int s, n; &nbs...
我要提问
湖南大学猴子报数
哈哈宝宝游泳
VIP
回复 3
|
赞 0
|
浏览 195
为什么这段代码输入n时用cin输入只有输入第一组数据的时候有输出但是从第二组开始就卡住了,但是换成scanf输入n他就能ac啊,求大佬解答 #include<iostream> #include<vector> #include<al...
我要提问
判断三角形类别 只有50%
DestinyCares+++
回复 1
|
赞 0
|
浏览 139
#include<iostream> #include<cstring> #include<algorithm> using namespace std; /*double length(int x1, int y1, int x2, int y...
我要提问
求三角形的面积 为什么wrong
DestinyCares+++
回复 2
|
赞 0
|
浏览 136
#include<bits/stdc++.h> using namespace std; double length(int x1,int y1,int x2,int y2) { double ans = 0; &nbs...
我要提问
中南大学机试真题爬楼梯
哈哈宝宝游泳
VIP
回复 1
|
赞 0
|
浏览 118
为什么这段代码dp数组必须在main函数外面定义才行,如果我定义到main函数里面程序就什么都不会执行就直接结束了,还有如果用scanf输入就会出现输出超限的错误但是改成cin输入就ac了,这两个问题是为啥啊,求大佬解答 #include<iostream> #incl...
我要提问
1248:为咋子最后两个数被替换成0了呀
我爱陈少熙
VIP
回复 1
|
赞 0
|
浏览 88
#include <stdio.h> #include<stdlib.h> #include<string.h> int cmpa(const void *a,const void *b) { return ...
我要提问
C语言中浮点类型数据不包括哪个部分()
八千
回复 1
|
赞 0
|
浏览 128
C语言中浮点类型数据不包括哪个部分() A. 符号位 B. 指数位 C. 尾数部分 D. 小数 我在网上看怎么什么答案都有
我要提问
中南 最大连续子序列 为什么错误
DestinyCares+++
回复 2
|
赞 0
|
浏览 129
#include<iostream> #include<climits> #include<cstdio> &n...
我要提问
删除最大最小数 75%?
DestinyCares+++
回复 8
|
赞 0
|
浏览 204
#include<iostream> #include<cstring> #include<algorithm> #include<vector> #include<queue> using namespace std; ...
我要提问
当 b 无穷大的时候,函数func返回值最近接的选项是()
八千
回复 1
|
赞 0
|
浏览 200
float func(float a, int b) { float m=1, n=1; int i; for (i=1; i <b; i ++) { m*= a/i; ...
我要提问
西北工业大学--杨辉三角为:wrong question
DestinyCares+++
回复 2
|
赞 0
|
浏览 182
#include<iostream> #include<cstring> using namespace std; const int maxn = 1005; int a[maxn][maxn]; int main() { &nbs...
我要提问
复旦大学二叉搜索树
yusheng
VIP
回复 3
|
赞 0
|
浏览 117
复旦大学机试题 二叉搜索树 #include using namespace std; struct node{ int val; node *left,*right; &nb...
我要提问
我爱陈少熙
VIP
回复 2
|
赞 0
|
浏览 96
我要提问
如果c为字符型变量,判断c是否为空格不能使用_______.(假设已知空格ASC
八千
回复 2
|
赞 0
|
浏览 155
如果c为字符型变量,判断c是否为空格不能使用_______.(假设已知空格ASCII码为32) A) if(c=='32') B) if(c==32) ...
我要提问
1097负二进制的问题,
我爱陈少熙
VIP
回复 0
|
赞 0
|
浏览 159
一开始是无限循环,后来输出结果是正确结果的逆序(输出顺序没错),现在直接输出错误答案了,请指导一下哪里出错了 #include<stdio.h> #include<stdlib.h> #include<string.h> int main() ...
我要提问
输出0和1的个数,整形int 输入15 输出0的个数为28,1的个数为4,为什
寥寥楠
回复 3
|
赞 0
|
浏览 111
#include<stdio.h> int main(){ int n=0; int one=0; int zero=0; scanf("%d&q...
我要提问
判读素数,是素数输出,不是素数输出大于他的第一个素数,代码通过率80%看不出来哪
寥寥楠
回复 2
|
赞 0
|
浏览 134
#include<stdio.h> #include<stdbool.h> bool judge(int n){ for(int i=2;i<n;i++){ &nb...
我要提问
下面程序段的运行结果是( )
八千
回复 3
|
赞 0
|
浏览 140
下面程序段的运行结果是( ) int i=O, a[]={3,4,5,4,3}; do{ a[i]++; }while(a[++i]<5); for(i=0;i<5;i++) printf(“%d”,a[i]) ;
我要提问
1091 促销计算 为什么测试不通过
acv
回复 2
|
赞 0
|
浏览 136
某百货公司为了促销,采用购物打折的优惠方法,每位顾客一次购物:在1000元以上者,按9.5折优惠;在2000以上者,按9折优惠;在3000以上者,按8.5折优惠;在5000以上者,按8折优惠;编写程序,购物款数,计算并输出优惠价。 #include using na...
我要提问
括号匹配 为什么一个个样例输入判断正确 5个一起就错误
DestinyCares+++
回复 7
|
赞 0
|
浏览 245
#include<iostream> #include<stack> #include<string> using namespace std; int priority(char c) { if (c =...
我要提问
1161 二叉树遍历
yanmo
VIP
回复 1
|
赞 0
|
浏览 163
#include<bits/stdc++.h> using namespace std; typedef struct node{ int data; struct node* lchild; struct node* rchild; }*Bitree; ...
我要提问
1071 幂次方
yanmo
VIP
回复 1
|
赞 0
|
浏览 197
#include<bits/stdc++.h> using namespace std; typedef long long ll; int main(){ ll x,n; cin>>x>>n; int mod=233333; ll...
1
2
3
4
5
我要提问
近期热门
1
N诺成就值出炉,帮你一眼识别大神
2
机试如何才能快速提高?
3
[置顶]计算机考研择校分析【25考研必读】
4
广度优先搜索计算每个人移动到每个位置需要去掉障碍物的最少数目,最后求和的最小值
5
1377旋转矩阵
6
ip地址(C)
7
简单易懂
8
C++递归解法,有注释
9
1017 幂次方 快速幂模板
10
计算机考研复试笔记——操作系统篇