91 solutions

  • 1
    @ 2026-2-27 11:42:17
    统计
    递交统计
    显示: 
    提交时间
     
    ASC
     
    所有语言
     
    状态	递交者	时间	内存	语言	代码	递交时间
     AC
     祝福	28ms	6.3 MiB	C++14(O2)	232 Bytes	2025-7-4 9:25:46
     AC
     王梓腾	30ms	6.3 MiB	C++14(O2)	260 Bytes	2025-7-11 10:08:20
     AC
     Mr. Five (小五老师)	17ms	6.3 MiB	C++14(O2)	267 Bytes	2025-7-24 18:12:32
     AC
     罗开朗	19ms	6.1 MiB	C++17(O2)	231 Bytes	2025-8-15 11:43:16
     AC
     厉继业	18ms	6.2 MiB	C++14(O2)	230 Bytes	2025-8-26 19:24:48
     AC
     蒲施羽	16ms	6.2 MiB	C++14(O2)	233 Bytes	2025-8-27 10:48:48
     AC
     王子墨	16ms	6.2 MiB	C++14(O2)	226 Bytes	2025-8-27 18:21:57
     AC
     薛宇晨	19ms	6.2 MiB	C++14(O2)	283 Bytes	2025-8-27 20:00:39
     AC
     袁嘉懿	18ms	6.2 MiB	C++14(O2)	246 Bytes	2025-8-29 10:46:25
     AC
     zlk[九尾查克拉] (钟礼铠)	17ms	6.2 MiB	C++14(O2)	286 Bytes	2025-8-29 20:24:03
     AC
     张艺北	17ms	6.2 MiB	C++14(O2)	307 Bytes	2025-8-30 11:58:01
     AC
     蒲施羽	20ms	6.2 MiB	C++14(O2)	233 Bytes	2025-9-6 19:11:57
     AC
     吕明哲	18ms	6.2 MiB	C++14(O2)	152 Bytes	2025-9-6 20:17:37
     AC
     陈明睿	22ms	6.2 MiB	C++14(O2)	212 Bytes	2025-9-13 20:35:35
     AC
     祝福	20ms	6.2 MiB	C++14(O2)	217 Bytes	2025-9-14 14:57:12
     AC
     叶书豪	16ms	504 KiB	C++14(O2)	314 Bytes	2025-11-29 14:48:24
     AC
     黄己恩	17ms	540 KiB	C++14(O2)	296 Bytes	2025-12-6 13:24:18
     AC
     龙韵伊	18ms	544 KiB	C++14(O2)	199 Bytes	2025-12-7 15:19:06
     AC
     qwertyuiopasdfghjklzxcvb (熊梓诺)	19ms	548 KiB	C++14(O2)	284 Bytes	2025-12-13 11:24:21
     AC
     jike1994	15ms	552 KiB	C++14(O2)	184 Bytes	2025-12-13 19:31:50
     AC
     我不是奶龙<三角洲资深玩家> (唐浩哲)	19ms	496 KiB	C++14(O2)	207 Bytes	2025-12-27 20:55:23
     AC
     梁芷睿	17ms	536 KiB	C++14(O2)	236 Bytes	2026-2-27 11:36:59
    1
    
    • 1
      @ 2025-11-22 20:36:44

      6y6

      • 1
        @ 2025-11-22 20:16:07
        • 1
          @ 2025-11-22 20:13:00
          • 0
            @ 2026-2-26 15:57:42

            • 0
              @ 2026-2-26 15:17:59

              91

              • 0
                @ 2026-2-26 15:17:08

                首页 题库 训练 比赛 作业 讨论 评测记录 排名 主题库 许皓辰 100 Accepted

                状态分数 耗时 内存占用

                #1 Accepted20 2ms 548 KiB #2 Accepted20 2ms 512 KiB #3 Accepted20 2ms 544 KiB #4 Accepted20 2ms 440 KiB #5 Accepted20 2ms 492 KiB 代码 #include<bits/stdc++.h> using namespace std; const int N=210; int dist[N]; int dx[N]; int dy[]={-1,1}; int n,A,B; int bfs(int x){ memset(dist,0x3f,sizeof dist); dist[x]=0; queue q; q.push(x); while(q.size()){ int t=q.front(); q.pop(); if(t==B){ return dist[B]; } for(int i=0;i<2;i++){ int a=t+dx[t]*dy[i]; if(a<0||a>n) continue; if(dist[a]!=0x3f3f3f3f) continue; dist[a]=dist[t]+1; q.push(a); } } return -1; } int main(){ cin>>n>>A>>B; for(int i=1;i<=n;i++){ cin>>dx[i]; } cout<<bfs(A); return 0; } 信息 递交者 许皓辰 LV 7题目A1715 【例】奇怪的电梯语言C++14(O2)代码长度548 Bytes递交时间2026-2-26 14:53:27 分数100总耗时9ms峰值时间2ms峰值内存548 KiB 状态 评测队列 服务状态 开发 开源 支持 帮助 联系我们 关于 关于 隐私 服务条款 版权申诉 Language 兼容模式 主题 蜀ICP备2025166542号-1Worker 0, 9msPowered by Hydro v5.0.0-beta.18 Community

                • 0
                  @ 2026-2-13 15:11:03
                  #include<bits/stdc++.h>
                  using namespace std;
                  const int N=2e5+10;
                  long long a[N],b[N];
                  long long f[N][2];
                  int main()
                  {
                  	long long n,k;
                  	cin>>n>>k;
                  	for(int i=1;i<=n;i++) cin>>a[i];
                  	for(int i=1;i<=n;i++) cin>>b[i];
                  	f[1][0]=f[1][1]=1;
                  	for(int i=2;i<=n;i++)
                  	{
                  		if(f[i-1][0])
                  		{
                  			if(abs(a[i-1]-a[i])<=k)
                  			{
                  				f[i][0]=true;
                  			}
                  			if(abs(a[i-1]-b[i])<=k)
                  			{
                  				f[i][1]=true; 
                  			}
                  		}
                  		if(f[i-1][1])
                  		{
                  			if(abs(b[i-1]-a[i])<=k)
                  			{
                  				f[i][0]=true;
                  			}
                  			if(abs(b[i-1]-b[i])<=k)
                  			{
                  				f[i][1]=true;
                  		 	} 
                  		}
                  	}
                  	if(f[n][1]||f[n][0]) cout<<"Yes"<<endl;
                  	else cout<<"No"<<endl;
                  	return 0;
                  }
                  
                  
                  • 0
                    @ 2026-2-6 16:28:41
                     100 Accepted
                    
                     A0100   【例】Hello,World!	789	140	入门
                     100 Accepted
                    
                     A0101   【例】A + B Problem	260	132	入门
                     100 Accepted
                    
                     A0102   【例】正方形面积	246	131	入门
                     100 Accepted
                    
                     A0104   矩形面积	169	128	入门
                     100 Accepted
                    
                     A0105   矩形周长	171	127	入门
                     100 Accepted
                    
                     A0106   【例】字符三角
                    
                    • 0
                      @ 2025-12-28 21:37:41
                      #include<bits/stdc++.h>
                      using namespace std;
                      int ans[3005],l[3005],r[3005],a[3005];
                      int main(){
                      	ios::sync_with_stdio(0);cin.tie(0);
                      	int n;cin>>n;
                      	string s;cin>>s;
                      	for(int L=1;L<=n;L++){
                      		for(int i=0;i<=n;i++)a[i]=0,l[i]=-1,r[i]=n-L+1;
                      		stack<pair<int,string>>st;
                      		string nw=s.substr(0,L);
                      		st.push({0,nw});
                      		for(int i=1;i<=n-L;i++){
                      			nw.erase(nw.begin());nw+=s[i+L-1];
                      			while(!st.empty()&&st.top().second>nw)st.pop();
                      			if(!st.empty())l[i]=st.top().first;
                      			st.push({i,nw});
                      		}
                      		while(!st.empty())st.pop();
                      		nw=s.substr(n-L,L);
                      		st.push({n-L,nw});
                      		for(int i=n-L-1;i>=0;i--){
                      			nw.erase(nw.end()-1);nw=s[i]+nw;
                      			while(!st.empty()&&st.top().second>=nw)st.pop();
                      			if(!st.empty())r[i]=st.top().first;
                      			st.push({i,nw});
                      		}
                      		for(int i=0;i<=n-L;i++){
                      			a[L]++;
                      			a[L+r[i]-l[i]-1]--;//(L+r[i]-l[i]-2)+1
                      		}
                      		for(int k=L;k<=n;k++){
                      			a[k]+=a[k-1];
                      			ans[a[k]]++;
                      		}
                      	}
                      	for(int i=1;i<=n;i++)cout<<ans[i]<<endl;
                      	return 0;
                      }
                      
                      • -1
                        @ 2026-2-24 14:55:27

                        -_-

                        • -1
                          @ 2026-2-24 14:55:10

                          rh

                          • -1
                            @ 2026-2-24 14:54:55

                            999

                            • -1
                              @ 2026-2-24 14:54:21

                              EYE

                              • -1
                                @ 2026-2-6 10:43:00

                                排名 用户名 RP 题目 比赛 通过 个人简介 49 (王力扬) LV 5 204 204 - 253 (666)是西伯利亚大铁铲 1 DH-LZR LV 10 330 263 67 484 uwu 2 leixin LV 9 289 239 49 306 ~山水有相逢,江湖再见~ 3 lsd[桃式显现] (方一帆2) LV 9 286 286 - 1103 图像本人自拍 4 lzr LV 8 279 224 55 235 ooooooooooooooooooooo 5 沈鼎皓 LV 8 273 273 - 715 6 反伪季联盟A.F.A. (李书宇) LV 8 269 224 46 213 上博客,辨别伪季。 7 lsd[桃式显现] (方一帆) LV 8 266 250 16 574 图像本人自拍 8 lsd[桃式显现] (lsd) LV 8 255 255 - 512 图像本人自拍 9 程裕澍 LV 7 254 254 - 603

                                10	 鸟嘴医生 LV 7	244	243	1	531
                                xxx爱吃我的头像
                                11	 阿贾克斯. (白骏锋) LV 7	244	243	1	511
                                jike1994:题库中题目"部分"来源于网络,如有侵权请联系:15182225438"删除"(改题)。
                                12	 张天源 LV 7	239	239	-	490
                                青花瓷m4
                                13	 我不叫坤坤 (坤坤) LV 7	238	237	1	455
                                https://poki.com/zh/html5
                                14	 季 (尹攸绵) LV 7	238	238	-	210
                                我是真季,不要怀疑! 反对伪季,从我做起!
                                15	 赵梓源 LV 7	234	233	1	403
                                (https://lizikid.cn/blog/21)
                                16	 粒子题解发送员 (王章峄) LV 7	234	233	1	265
                                17	 许皓辰 LV 7	232	231	1	495
                                时隔481天帝果终于获得亚种
                                18	 叶裕瑞 LV 6	232	214	18	257
                                19	 邦邦邦邦 (乐思尧) LV 6	229	228	1	434
                                瓦:暮蝶 “我走了,我就没回来”
                                20	 吴泽枢 LV 6	229	229	-	131
                                21	 刘思锐 LV 6	226	226	-	411
                                ???
                                22	 GGbone (周驭准) LV 6	221	220	1	337
                                23	 胡恩瑞 (lizi12) LV 6	219	219	-	177
                                24	 邱怡辰 LV 6	219	219	-	414
                                一个每天都不想让郑*楷用户超过的和平玩家。
                                25	 枫原蛋液 (郑惟楷) LV 6	219	218	1	353
                                一个每天都想噶掉邱*辰的原神玩家 UID:333250559 要的加我
                                26	 王嘉怡 LV 6	219	219	-	339
                                27	 陈奕可 LV 6	218	218	-	327
                                你为什么要看我主页???!!!!!🙄💅
                                28	 王子墨 LV 6	218	218	-	281
                                29	 zlk[九尾查克拉] (钟礼铠) LV 6	218	218	-	290
                                颗秒
                                30	 chenyanliing LV 6	217	217	-	94
                                31	 王梓腾 LV 6	216	216	-	267
                                你个小唐人
                                32	 祝福 LV 6	213	213	-	313
                                33	 Get_side LV 6	212	212	-	114
                                34	 厉继业 LV 6	212	212	-	280
                                来财来
                                35	 亮途 LV 5	212	212	-	160
                                36	 Mr. Five (小五老师) LV 5	211	211	-	267
                                37	 向籽言 LV 5	210	210	-	280
                                没得简介 ![](/file/145/MQLC...
                                38	 钱宇宸 LV 5	210	209	1	317
                                39	 李胤祺 LV 5	209	209	-	102
                                40	 叶书豪 LV 5	209	209	-	228
                                哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈
                                41	 王婧涵 LV 5	208	208	-	254
                                42	 龙韵伊 LV 5	208	208	-	269
                                43	 赵子豪 LV 5	207	207	-	269
                                44	 吕明哲 LV 5	207	207	-	234
                                45	 你是干嘛的猫欧普 (刘恒嘉) LV 5	206	206	-	261
                                46	 黄己恩 LV 5	206	206	-	229
                                47	 余昕璇 LV 5	205	205	-	224
                                48	 赵静恺 LV 5	205	205	-	118
                                49	 (王力扬) LV 5	204	204	-	253
                                (666)是西伯利亚大铁铲
                                50	 死神 . 虚无幻影 (王鑫意) LV 5	202	202	-	241
                                51	 王锦雯 LV 5	202	195	7	99
                                👍
                                52	 我不是奶龙<三角洲资深玩家> (唐浩哲) LV 4	201	201	-	203
                                53	 罗开朗 LV 4	201	201	-	261
                                54	 费轩栩 LV 4	200	200	-	248
                                55	 黎一 LV 4	199	199	-	44
                                56	 jike1994 (尹攸雨濛) LV 4	197	197	-	237
                                57	 高语轩 LV 4	197	197	-	205
                                58	 陈明睿 LV 4	197	197	-	184
                                59	 qwertyuiopasdfghjklzxcvb (熊梓诺) LV 4	196	196	-	189
                                你奶了个三角篓子,你没事看我简介干嘛
                                60	 蒲施羽 LV 4	196	196	-	164
                                61	 糝掇*)@狡 (岳羽溪) LV 4	194	194	-	152
                                62	 cxy675(专注于发布正确的题解) (黎锦宸) LV 4	194	193	1	98
                                oi小鬼
                                63	 苏子轩 LV 4	193	193	-	218
                                64	 薛宇晨 LV 4	193	193	-	138
                                65	 jike1994 SU (刘弈辰) LV 4	193	193	-	205
                                季总小号
                                66	 lyz (李彦泽) LV 4	193	193	-	213
                                B0ACFC0
                                67	 张艺北 LV 4	193	193	-	170
                                68	 黄奕杰 LV 4	192	191	1	186
                                69	 jike1994 (张一鸣) LV 3	192	191	1	211
                                70	 汪朋亮 LV 3	192	192	-	36
                                71	 谢炎杉 LV 3	192	192	-	92
                                love_Arcueid
                                72	 达瓦荣博 LV 3	192	191	1	80
                                73	 *** (赖厚泽) LV 3	191	191	-	202
                                74	 唐若轩 LV 3	190	190	-	191
                                My name is Tang Ruoxuan.I like play football.和平Q区:陈研灵
                                75	 周鑫 LV 3	190	190	-	181
                                76	 DH-ZYL LV 3	190	189	1	100
                                理论
                                77	 mayer LV 3	190	190	-	113
                                78	 严方谊 LV 3	187	187	-	186
                                79	 罗莎 LV 3	187	186	1	194
                                80	 肖渃璃 LV 3	187	186	1	124
                                81	 张意驰 LV 3	186	185	1	159
                                https://lizikid.cn/blog/114
                                82	 钟李轩 LV 3	186	186	-	67
                                83	 王嵩月 LV 3	186	186	-	69
                                84	 cici LV 3	185	185	-	163
                                85	 DH-WXY LV 3	185	184	1	103
                                86	 刘兵 LV 3	185	185	-	165
                                87	 邹鑫町 LV 3	184	184	-	76
                                88	 徐婧绮 LV 3	183	183	-	148
                                89	 闵国迅 LV 3	183	183	-	117
                                90	 iiilll (史骐坤) LV 3	182	182	-	152
                                qwertyuioplkjhgfdsazxcvbnm,
                                91	 18848484469 LV 3	182	182	-	139
                                92	 张嘉芃 LV 3	182	182	-	143
                                93	 李昀轩 LV 3	181	181	-	131
                                94	 袁嘉懿 LV 3	180	180	-	103
                                95	 王世宇 LV 2	180	180	-	147
                                和平精英 微区 忆海鲜酱
                                96	 明日香 怪盗基德 怪盗1412 (eva) LV 2	179	178	1	96
                                eva神作必看
                                97	 童宇晨 LV 2	179	179	-	133
                                98	 梁芷睿 LV 2	179	179	-	165
                                猛攻才是硬道理
                                99	 jike1994 SU (mjh) LV 2	176	176	-	125
                                100	 聂旭辰 LV 2	175	175	-	143
                                记住!知识是最强的武器! 兀=3.14159265358... sqrt(-1)=i
                                • -1
                                  @ 2026-2-5 16:29:41
                                  using namespace std;
                                  int main()
                                  {
                                  	cout<<"Hello,World!";
                                  	return 0;	
                                  }
                                  
                                  • -1
                                    @ 2026-2-5 11:57:18

                                    hh

                                    • -1
                                      @ 2026-2-4 14:41:19

                                      ttttttttttttttttttttttttttt

                                      Information

                                      ID
                                      838
                                      Time
                                      1000ms
                                      Memory
                                      256MiB
                                      Difficulty
                                      1
                                      Tags
                                      # Submissions
                                      825
                                      Accepted
                                      153
                                      Uploaded By