主站
DreamJudge
院校信息
专业题库
模拟考试
机试真题
专业课程
讨论区
兑换中心
登录
注册
上岸
搜索
推 荐
择校分析
笔经面经
学习交流
我要提问
站内公告
调剂专题
精彩爆料
解题报告
我要提问
1102 素数判定
yanmo
VIP
回复 2
|
赞 0
|
浏览 143
#include<bits/stdc++.h> using namespace std; //线性素数筛选,prime[0]存储素数个数 const int maxn=1000000+5; int prime[maxn]; void getprime(){ ...
我要提问
简单计算器 为什么runtime(python)
DestinyCares+++
回复 3
|
赞 0
|
浏览 113
while True: a=input() if a=="0": break  ...
我要提问
括号匹配南理工 为什么错误
DestinyCares+++
回复 1
|
赞 0
|
浏览 181
#include<iostream> #include<cstring> #include<stack> #include<cstdio> using namespace std; int main() {  ...
我要提问
1312 畅通工程
yanmo
VIP
回复 1
|
赞 0
|
浏览 77
//普里姆算法 #include<bits/stdc++.h> using namespace std; #define INF 0x3f3f3f3f //定义无穷大 const int maxn=100+5; int mpt[maxn][maxn];//邻接矩阵 ...
我要提问
杨辉三角形 西北工业大学 为什么wrong question
DestinyCares+++
回复 1
|
赞 0
|
浏览 131
#include<iostream> #include<cstring> using namespace std; const int maxn = 25; int a[maxn][maxn]; int main() { ...
我要提问
软工判断题为什么是错的
我爱陈少熙
VIP
回复 2
|
赞 0
|
浏览 124
多态性增强了软件的灵活性和重用性,允许用更为明确、易懂的方式去建立通用软件,多态性和继承性相结合使软件具有更广泛的重用性和可扩充性。(×)
我要提问
打印日期
promising
VIP
回复 2
|
赞 0
|
浏览 197
打印日期这个题,为啥前面几个测试用例都对,后面三个不对啊,如果不输前面几个,后面三个输出就没有问题 #include int main() { int m,n; int i=1;  ...
我要提问
川大计算机复试贴
muff
VIP
回复 1
|
赞 0
|
浏览 84
川大计算机复试C语言可以用C++写吗
我要提问
1564 石油
yanmo
VIP
回复 1
|
赞 0
|
浏览 117
为什么不能直接用x和y? void dfs(int x,int y){//从m[x][y]出发遍历属于同一石油块的pocket visit[x][y]=1; for(int i=0;i<8;i++){/...
我要提问
幂次方 为什么错误
DestinyCares+++
回复 3
|
赞 0
|
浏览 211
#include<iostream> #include<cstring> using namespace std; int fast(int a,int b,int mod) { long long answer = 1...
我要提问
高分篇的喝饮料问题(1478)
我爱陈少熙
VIP
回复 1
|
赞 0
|
浏览 286
商店里有 n 中饮料,第 i 种饮料有 mi 毫升,价格为 wi。小明现在手里有 x 元,他想吃尽量多的饮料,于是向你寻求帮助,怎么样买才能吃的最多。请注意,每一种饮料都可以只买一部分。 我运行的结果跟书上不一样,就想测试排序是否出错,但是结果显示有误,请问是cmp函...
我要提问
1563 迷宫 const
yanmo
VIP
回复 3
|
赞 0
|
浏览 146
为什么第六行必须要用const定义? //将结构体作为队列的元素 //广度优先搜索 #include<bits/stdc++.h> using namespace std; const int maxn=100+5; char M[maxn]...
我要提问
1289 runtime error?
DestinyCares+++
回复 1
|
赞 0
|
浏览 122
#include<iostream> #include<cstring> #include<cmath> #include<algorithm> #include<vector> using namespace std; ...
我要提问
请各位大佬帮我看看哪里出错了-1375
LJC27
回复 1
|
赞 0
|
浏览 107
#include<bits/stdc++.h> #include<algorithm> #include<cmath> using namespace std; bool prime(int n) { int flag = ...
我要提问
1344 为什么输入什么 输出的都是0 0
DestinyCares+++
回复 3
|
赞 0
|
浏览 182
#include<iostream> #include<string> #include<climits> #include<vector> #include<queue> using namespace std; c...
我要提问
q.top()
yanmo
VIP
回复 3
|
赞 0
|
浏览 190
priority_queue<int,vector<int>,greater<int>> q; int weight+=q.top(); 第二行语法有问题吗?
我要提问
高分篇里面的成绩排序(编号1151)的问题
我爱陈少熙
VIP
回复 4
|
赞 0
|
浏览 243
我用的c语言编写的结构体排序,为什么最后运行的结果成绩无法输出呀。 #include <stdio.h> #include<stdlib.h> #include<string.h> struct stu { ...
我要提问
1010 排序
yanmo
VIP
回复 2
|
赞 0
|
浏览 179
为什么runtime error了呀? #include<bits/stdc++.h> using namespace std; int main(){ int n; ci...
我要提问
1380二进制串
yanmo
VIP
回复 1
|
赞 0
|
浏览 147
#include<bits/stdc++.h> using namespace std; int main(){ unsigned int n; while(cin>>n){ string s; //定义字符串存储转换后的二进制串 int ...
我要提问
单词替换 只有75%
DestinyCares+++
回复 0
|
赞 0
|
浏览 157
#include<iostream> #include<string> using namespace std; int main() { string str, a, b; wh...
我要提问
单词替换
DestinyCares+++
回复 0
|
赞 0
|
浏览 135
#include<iostream> #include<string> using namespace std; int main() { string str, a, b; wh...
我要提问
删除字符串 编译错误
DestinyCares+++
回复 0
|
赞 0
|
浏览 195
#include<bits/stdc++.h> using namespace std; int main() { char s[105]; string t = "gzu&quo...
我要提问
单词替换 为什么会output limit
DestinyCares+++
回复 0
|
赞 0
|
浏览 253
#include<iostream> #include<vector> #include<string> #include<algorithm> using namespace std; int number[105] = { 0 ...
我要提问
简单背包问题 为什么不对
DestinyCares+++
回复 0
|
赞 0
|
浏览 136
#include<bits/stdc++.h> using namespace std; const int maxn = 1005; int w[maxn]; int dp[maxn][maxn] = {0}; int main() {  ...
我要提问
点菜问题 为什么wrong question
DestinyCares+++
回复 2
|
赞 0
|
浏览 197
#include<bits/stdc++.h> using namespace std; const int maxn = 105; int w[maxn];//价格 int v[maxn];//分数 int dp[maxn][maxn]; int main...
我要提问
1566 为什么编译错误
DestinyCares+++
回复 1
|
赞 0
|
浏览 272
#include<iostream> #include<queue> #include<vector> using namespace std; const int maxn = 1000 + 5; int mpt[maxn][maxn];...
我要提问
1341 为什么80%
DestinyCares+++
回复 1
|
赞 0
|
浏览 257
#include<iostream> #include<algorithm> using namespace std; const int maxn = 1000 + 5; int f[maxn]; int height[maxn]; struct no...
我要提问
1319 为什么错误
DestinyCares+++
回复 1
|
赞 0
|
浏览 309
#include<iostream> #include<string> using namespace std; const int maxn = 1000 + 5; int f[maxn]; int height[maxn]; int find(i...
我要提问
1027 不知道哪里错了
DestinyCares+++
回复 2
|
赞 0
|
浏览 220
#incldue<bits/stdc++.h> using namespace std; int main(){ char s[105]; char s_lower[105]; &...
我要提问
1161 ouput limit exceed?
DestinyCares+++
回复 1
|
赞 0
|
浏览 168
#include<iostream> using namespace std; typedef struct Tnode { char data; struct Tnode * lchild, ...
1
2
3
4
5
我要提问
近期热门
1
N诺成就值出炉,帮你一眼识别大神
2
机试如何才能快速提高?
3
[置顶]计算机考研择校分析【25考研必读】
4
广度优先搜索计算每个人移动到每个位置需要去掉障碍物的最少数目,最后求和的最小值
5
1377旋转矩阵
6
ip地址(C)
7
简单易懂
8
C++递归解法,有注释
9
1017 幂次方 快速幂模板
10
计算机考研复试笔记——操作系统篇