这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
自由发言 权限多次发表无意义帖子(7 天)
# 小码君搭积木2 ## 题目描述 小码君的城堡正在艰难的搭建中,现有 $m(m\le100000)$ 种不同大小的积木块,每个积木块的大小是 $a_i(a_i\le10^6)$。小码君现在需要 $n(n\le100000)$ 种积木块,需要的大小分别为 $b_i(b_i\le10^6)$。 现在需要根据小码君需要的积…
在讨论《求助,这道题没思路》回复:
大佬们给点建议把
# 小码君搭积木3 ## 题目描述 小码君在搭建城堡的过程中,发现自己的速度实在太慢,他决定要将积木块进行分类,这样就能快速的查找到他想要的积木了,n个积木块由数字组成($1≤a_i≤10^9$),小码君已经将他们按照(1...n)排列好,现在小码君需要使用m个积木块,对于每个积木块都需要知道它所在的位置编号才能最快速…
``` #include #include #include #include #include #define Nor if(B[b].x =28||By1-Bvy1 =27 #define Out2 Bx2-Bvx2 =28||By2-Bvy2 =27 #define Chang1 {Bwhat1=0;Bvx1=B…
在讨论《求大佬解惑》回复:
谢谢 @[Gch738](/user/555378)
到底是哪的问题? ``` #include using namespace std; int l,m; int u,v; int main(){ // freopen("123.txt","r",stdin); // freopen("123.txt","w",stdout); scanf("%d%d",&l,&m);…
在讨论《80tps求助》回复:
@[han_jian__wu_wei_han](/user/746444) 谢谢
在讨论《80tps求助》回复:
@[han_jian__wu_wei_han](/user/746444)
在讨论《80tps求助》回复:
我学历有限 `x-,y-`什么意思?
在讨论《代码求调》回复:
``` #include using namespace std; int n,m,x,T,a[100010]={0}; string s; queue dl1; queue dl[100010]; int main(){ scanf("%d%d",&n,&m); for(int i=0;i >x; a[i]=x; }…
在讨论《代码求调》回复:
你做的哪道题?
在讨论《到底哪里的问题?》回复:
_@[wangjiayuan](/user/566202) 已关,谢谢_
``` #include using namespace std; int n,m; queue q; int main(){ cin>>n>>m; for(int i=1;i<=m-1;i++){ q.push(i); } while(!q.empty()){ for(int i=1;i<=m-1;++i){ q.p…
在讨论《1 4WA,求大佬相助》回复:
我之前也发过一个帖子,被我删了,叫样例没过
``` #include //非抄袭题解,可查看我发的帖子 using namespace std; int m,t,s; int main(){ cin>>m>>t>>s; if(t==0){ cout<<0; return 0; } if(s%t==0) cout<<max(m-s/t,0); else cout<…
在讨论《3 4 8 11 WA求大佬看看》回复:
@[lingyuxuan666](/user/787986) 谢谢
``` #include #include using namespace std; int main() { int T; cin >> T; if (T == 1) { cout << "I love Luogu!"; } else if (T == 2) { cout << 2 + 4 << " " << 10…