主站
DreamJudge
院校信息
专业题库
模拟考试
机试真题
上岸课程
讨论区
兑换中心
登录
注册
上岸
sheep276
这个人很懒,什么都没有写...
关注
发消息
文章
0
题解
4
发帖
0
笔记
0
Ta的粉丝
0
关注数
0
粉丝数
0
获赞数
13
阅读数
338
P1286 最短路径 部分样例未通过,不知道为什么
#include <bits/stdc++.h> using namespace std; int n,m; struct edge { int u; int v; int w; }; vector<edge>edges; ...
P1286
2025年3月10日 16:46
回复 2
|
赞 2
|
浏览 55
初始化的时候用0x3f就通过了,用INT_MAX没通过,为什么?
#include using namespace std; struct node { int x; int y; int stone; }; &nbs...
P1308
2025年3月8日 13:49
回复 2
|
赞 4
|
浏览 97
前缀字符串 :用前缀树做的,WA,不知道为什么
#include <bits/stdc++.h> using namespace std; struct node { int num; node*next[26]; }; void init...
P1098
2025年3月7日 18:39
回复 2
|
赞 4
|
浏览 85
素数 题解:使用埃拉托斯特尼筛法构建素数列表,时间复杂度为O(nloglogn)
#include<bits/stdc++.h> using namespace std; int main() { vector<bool>csp(10001,1); csp[1]=0...
P1375
2025年3月3日 23:56
回复 0
|
赞 3
|
浏览 101
本科学校:哈尔滨工程大学
目标学校:北京航空航天大学
点此申请N诺身份认证
获得 noobdream 认证,享受多重认证福利!