摘要:
题目来源:https://www.luogu.com.cn/problem/P1443 简单的bfs,然而写x和y的限制时把矩阵的行列搞反了,(因为太简单了代码略) 阅读全文
posted @ 2025-04-25 19:44
yubai111
阅读(16)
评论(0)
推荐(0)
摘要:
题目来源:https://www.luogu.com.cn/problem/P1923 nth_element(a,a+k,a+n),所有a+k左边的都比它小(但不一定单调),所有右边的都比它大。这道题算是模板,不用stl的话可以用快排思想 耗时:cin > scanf > getchar,超时逐级 阅读全文
posted @ 2025-04-25 13:02
yubai111
阅读(53)
评论(0)
推荐(0)

浙公网安备 33010602011771号