首页
DreamJudge
院校信息
专业题库
模拟考试
机试真题
上岸课程
兑换中心
登录
注册
上岸
sheep276
这个人很懒,什么都没有写...
关注
发消息
文章
0
题解
8
发帖
0
笔记
0
Ta的粉丝
0
关注数
0
粉丝数
0
获赞数
44
阅读数
1914
只通过了75%,不知道为什么
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { int n, m; while (cin >&g...
P1154
2025年3月20日 14:44
回复 2
|
赞 5
|
浏览 140
只通过了80%,不知道为什么
//我的思路是把数字和x全移到左边,计算数字和以及x的系数和,然后判断解 #include <bits/stdc++.h> using namespace std; void hanshu(string a) { stack<int&g...
P1811
2025年3月16日 15:34
回复 3
|
赞 8
|
浏览 273
十进制和二进制 题解:
#include <bits/stdc++.h> using namespace std; string tentotwo(string a) { string ans="";//二进制翻转  ...
P1176
2025年3月13日 21:50
回复 0
|
赞 8
|
浏览 299
校门外的树 题解
#include <bits/stdc++.h> using namespace std; int main() { int l,m; while(cin>>l>>m) ...
P1085
2025年3月13日 15:07
回复 0
|
赞 1
|
浏览 139
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
|
赞 6
|
浏览 297
初始化的时候用0x3f就通过了,用INT_MAX没通过,为什么?
#include using namespace std; struct node { int x; int y; int stone; }; &nbs...
P1308
2025年3月8日 13:49
回复 2
|
赞 6
|
浏览 223
前缀字符串 :用前缀树做的,WA,不知道为什么
#include <bits/stdc++.h> using namespace std; struct node { int num; node*next[26]; }; void init...
P1098
2025年3月7日 18:39
回复 2
|
赞 6
|
浏览 267
素数 题解:使用埃拉托斯特尼筛法构建素数列表,时间复杂度为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
|
赞 4
|
浏览 276
本科学校:魔法技术学校
目标学校:霍格沃兹
点此申请N诺身份认证
获得 noobdream 认证,享受多重认证福利!