这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
```cpp #include using namespace std; int sum = 0; int mp[100][100]; int a,b,c,d; int chess(int x,int y) { if (mp[x][y] == 2) return 1; if (mp[x+1][y] != 1 && x…
```cpp #include using namespace std; int n,m,A[50010],T[50010]; long long l = 0,r = 0,mid,ans; bool check(long long m_d) { long long happy = 0,day = 0; for (int…
在讨论《五十求调》回复:
@[anonymous217](luogu://user/217634)谢谢
在讨论《五十求调》回复:
啊不,六十求调,写错了
```cpp #include using namespace std; int fa[10000]; int n,m,p; struct s{ int a; int b; }qqgx[10000],qqgx2[10000]; int find(int a) { if (fa[a] == a) return a; fa…
在讨论《dalao们球球帮忙看看蒟蒻的check咋写错了》回复:
@[zhizhi_fengxi](luogu://user/1353416)?
```cpp bool check(int md) { int s = 0; int cnt = 0; for (int i = 1;i <= n;i++) { if (s + a[i] <= md) { s = s + a[i]; } else { s = s / 2 + a[i]; cnt++; } } if (c…
在讨论《零分求助!!》回复:
已关
```cpp #include using namespace std; int heap[50000],top = 0,n; struct s{ int op; int x; }c[1000010]; void push(int x) { top++; int p = top; while (p > 1) { if…
在讨论《萌新求解!!!》回复:
@[SSqwq_](/user/639085) 谢谢,已经关了
```cpp #include using namespace std; int n,s,a,b; struct node{ int x,y; }apple[6000]; int cmp(node e,node h) { return e.y > n >> s; cin >> a >> b; for (int i =…
在讨论《0分求助》回复:
@[xujiacheng0312](/user/920308) 10分咋办
在讨论《0分求助》回复:
@[xujiacheng0312](/user/920308) 谢大佬
```cpp #include using namespace std; struct s{ int a,b; bool bl = 1; }bs[1000010]; bool cmp(s x,s y) { return x.a > n; for (int i = 1;i > bs[i].a >> bs[i].b; }…
在讨论《为啥数组前两位是零啊求大佬解答》回复:
@[SuperAlex4](/user/179187) 谢谢
在讨论《为啥数组前两位是零啊求大佬解答》回复:
@[yueqian2013](/user/1281428) 我不就是这样的吗
在讨论《为啥数组前两位是零啊求大佬解答》回复:
@[yueqian2013](/user/1281428) emm
```cpp #include using namespace std; int a[1010],b[10101]; void ksort (int arr[],int l,int r) { if (l >= r) return; int mid = (l + r) / 2; swap(arr[l],arr[mid])…
```c #include using namespace std; int a[1000000]; int n,k; // void wwqsort(int arr[],int l,int r) { if (l >= r) return; int mid = (l + r) / 2; swap(arr[l],arr[…
在讨论《大佬们为啥我一个WA,两个TLE啊》回复:
@[medal_dreams](/user/1271321) 谢谢
```cpp #include using namespace std; long long a[6000000],b[6000000]; long long n,k; void msort(long long arr[],long long brr[],long long l,long long r) { if (l…