这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
``` #include #include #include using namespace std; const int N = 110; int n; char g[N][N]; bool st[N][N]; //标记每个点是否为单词中的字母 int dx[8] = {-1,-1,-1,0,1,1,1,0},dy[…
在讨论《萌新弱弱问一句,这考察的是深搜吗?(:》回复:
@[wangyibo201026](/user/363006) 嗯嗯了解了,谢谢!
在讨论《萌新弱弱问一句,这考察的是深搜吗?(:》回复:
@[wangyibo201026](/user/363006) 没学过相关算法建议做嘛?还是学过再来?
在讨论《50分,错哪了呢》回复:
@[Yike_linen](/user/141945) 懂了!非常感谢回答得这么细致,谢谢谢谢!
``` #include #include #include #include #include using namespace std; struct stu { int a, b, c, all, id; }; stu stud[305]; bool cmp(stu x, stu y) { return x.all…
在讨论《60分快疯了,2,3测试点wa,求助求助》回复:
原来,困扰我几个小时的问题,是No的o被我写成O,~~草~~
在讨论《60分快疯了,2,3测试点wa,求助求助》回复:
@[fjy666](/user/366338) 蒟蒻一枚,代码改了又改,两点wa却一直在qwq
``` #include #include #include using namespace std; int A, B, C, flag; int main() { cin >> A >> B >> C; for (int a = 1; a <= 9; a++) { for (int b = 1; b <= 9; b…
在讨论《80分求助!样例都过了》回复:
@[Link_Space](/user/278481) 懂了谢谢谢谢!
在讨论《80分求助!样例都过了》回复:
找到问题了,定义long long就ac了,但是为啥?int类型最大不是2147483647,差不多2*10^9,不是比题目给的10^9要大吗?
``` #include #include #include #include #include using namespace std; int a[100010], ans; int main() { int n, x; cin >> n >> x; for (int i = 1; i > a[i]; } if (…
``` #include #include #include #include #include using namespace std; int ans; int main() { int n; cin >> n; ans = 1; for (int i = n/2; i > 0; i--) { ans++; for…
``` #include #include #include #include using namespace std; int n, m, d, l, s[50005], g, ans, p[10000][10000], x=1; int main() { cin >> n >> m >> d >> l; ans =…
在讨论《90分,最后一个点TLE了,大佬帮忙看看是哪里有问题》回复:
@[gfgoodluck](/user/342011) 明白了谢谢谢谢!
``` #include #include #include #include using namespace std; int n, m, b[105], a[10005]; int main() { cin >> n >> m; for (int i = 1; i > a[i]; } int k = 1; for…
在讨论《一个小疑问》回复:
@[归游](/user/228993) 懂了懂了谢谢!
在讨论《一个小疑问》回复:
@[xyzlh](/user/184415) 谢谢谢谢!
在讨论《一个小疑问》回复:
@[a1029](/user/351392) 好的好的谢谢!
在讨论《一个小疑问》回复:
@[xyzlh](/user/184415) 最后一个人的打水时间不算进去?
在讨论《一个小疑问》回复:
@[xyzlh](/user/184415) 意思是轮到那个人打水就等待就结束了吗?等待时间不包括打水时间?
``` #include #include #include #include using namespace std; int n; double sum; struct stu { int t; int id; }; stu s[1005]; bool cmp(stu x,stu y) { return x.t >…
在讨论《为啥只有30分》回复:
@[wangyxhaha](/user/177072) 所以是我的代码有问题吧?但是哪里有问题
``` #include #include using namespace std; int w, n, a[30005], cnt; int main() { cin >> w >> n; for (int i = 0; i > a[i]; } if (n == 1) { cout = 0; i--) { for (…
在讨论《75分求助!》回复:
@[huangyuhan123456](/user/461452) 我知道可以sort,但是我上面这种写法为啥只有75呢?
在讨论《75分求助!》回复:
@[huangyuhan123456](/user/461452) 大佬你看清楚了,我定义了两个数组,sort排不了,而且不是字符串。。
``` #include #include #include #include #include using namespace std; int n, a[25], b[25], len; int length(int a) { int t = 0; while (a != 0) { a /= 10; t++; }…
``` #include #include #include #include #include using namespace std; int l, n, s[5005]; int main() { cin >> l >> n; if (n == 0) { cout > s[i]; sort(s + 1, s +…
在讨论《为啥超时了?》回复:
@[捕风捉影](/user/387908) 谢谢谢谢!
``` #include #include #include using namespace std; int main() { int n, m, k, p[110] = { 0 }, ans = 0; cin >> n >> m >> k; for (int i = 1; i > x >> c; p[x] = mi…