这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
``` #include using namespace std; int n; struct Node{ bool tra; int pri; int t; }; Node k[1000001]; queue q; queue w; int ans; signed main() { ios::sync_with_st…
``` #include #define int long long using namespace std; const int MAXN=2*1e5+99; int a[MAXN]; int n,c; bool AC(int a1,int b1){ if(a1-b1==c){ return 1; } return…
在讨论《贪心 全WA》回复:
谢谢dalao
```c #include using namespace std; int t,m; const int N=1e3; struct med{ int a,b; }; med M[N]; bool cmp(med A,med B){ return A.b*B.a>A.a*B.b; } int ans; int d[N…
在讨论《全WA!!!!!!!!!!》回复:
代码; ```c #include using namespace std; int t,m; const int N=1e3; struct med{ int a,b; }; med M[N]; bool cmp(med A,med B){ return A.b*B.a>A.a*B.b; } int ans; int…
在讨论《全WA!!!!!!!!!!》回复:
我也是用贪心做的 dalao的数据测出来是对的; 但是全WA了qwq