这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
```cpp #include #define int long long using namespace std; const int N = 1e8 + 10; int n, w, a[N], sum, ans; signed main() { cin >> n >> w; for (int i = 1; i >…
在讨论《TLE46分求助》回复:
@[Qianyihan1221](luogu://user/1255953) 你这个q[N * N]会爆,int的数组最大是1e6+100,N * N=1e7多了,肯定会超时,还有,你那个bfs,它里面就有两层循环,然后你又把它又套在两层循环之中,肯定会超的
在讨论《为什么60分?》回复:
@[0_________0](luogu://user/1031285) 谢谢你
在讨论《看不懂》回复:
```cpp #include using namespace std; const int N = 101; char ch; int n, m, ax[4] = {1, -1, 0, 0}, ay[4] = {0, 0, 1, -1}, ans = 0; bool sum[N][N]; void dfs(int x…
在讨论《为什么60分?》回复:
@[yuankeyu666](luogu://user/1366635) Thank you. 我AC了
```cpp #include using namespace std; const int N = 21; char ch; int n, m, ax[4] = {1, -1, 0, 0}, ay[4] = {0, 0, 1, -1}, ans = 0; bool sum[N][N]; void dfs(int x,…
cin >> s1 >> s2 >> s3 >> s4; for (int i = 1; i > a[i]; for (int i = 1; i > b[i]; for (int i = 1; i > c[i]; for (int i = 1; i > d[i]; for (int i = 1; i <= s1; i+…