玉泉路1环球度假区
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
``` #include using namespace std; const int N=1e6+5; int c[N],w[N],dp[N],n,v,sumc,sumw,ans=1e9; int main() { ios::sync_with_stdio(0),cin.tie(0),cout.tie(0); cin…
``` #include using namespace std; const int N=1e7+2; long long n,n2,a1[N],a2[N],sum;int i=0,j=0,k,w; int read(int x = 0) { char ch = getchar(); while(ch 57) ch…
[90(WA on #1)](https://www.luogu.com.cn/record/214222044) [样例1不过但AC](https://www.luogu.com.cn/record/214222162)
``` #include using namespace std; const int N=1e5+2; priority_queue ,greater >pq; long long sum,x,n,k,flag,l; stack m; struct node{ long long a,b; }a[N]; bool c…
``` #include using namespace std; const int N=1e6+5; const int M=2005; int n,m,st,ed,t,a[N],f=1,s1=0,s2=10000; vector g[M],gg[M]; int main() { ios::sync_with_st…
``` #include using namespace std; int n; const int N=2*1e5; struct node { int a,b,c,id,pa,pb,pc; } m[N]; bool cmp1(node a,node b) { return a.a>b.a; } bool cmp2(…
在讨论《建议降橙》回复:
枚举能过(需要亿点优化)
``` #include using namespace std; int n; int main() { cin>>n; int dp[n+2][n+2]= {0},a[n+2],b[n+2]; for(int i=1; i >a[i]; } for(int i=1; i >b[i]; } for(int i=1;…
``` #include using namespace std; int n,m,s; struct node{ double v,w; }; vector g[100005]; double dis[100005],c;int A,B,a,b,vis[100005]; void dijkstra(int x){ m…
``` #include using namespace std; double s,ans; int n,m,a[25]; int main(){ cin>>n>>m; for(int i=1;i >a[j]; } sort(a+1,a+n+1); for(int j=2;j<m;j++){ s+=a[j]; } a…
``` #include using namespace std; using namespace std; int n,m,s,tot=0,t; const int Ma=500000+10; const int Mb=100000+10; const int Mc=2147483647; long long dis…
在讨论《洛谷举报专区》回复:
@[lijunyi2012](/user/1056334) 在2023年10月1日18时至19时30分在比赛 (www.luogu.com.cn/contest/136369) 中抄袭题解,删除注释及更改格式后提交, 不但不知悔改且大肆炫耀,贬低他人,经常与他人(大部分和他有关系的人)集体作弊,请求管理员帮助。 证人:…