跳到正文

个人记录

0715总结

Will_ZLR约 3 分钟
原文
文章信息与版本

文章信息

发布
2024年7月15日
收录
2025年12月12日
更新
2026年11月18日
篇幅
约 3 分钟

版本

  1. v1当前

Score:100

得分情况:

T1 (牛式 Prime Cryptarithm)  0pts {\color{White}\colorbox{#E74C3C}{ 0pts }}

T2 (iCow B) 100pts{\color{White}\colorbox{#52C41A}{100pts}}

T3 (Cows on Skates G)  0pts {\color{White}\colorbox{#E74C3C}{ 0pts }}

T4 (The Loathesome Hay Baler S)  0pts {\color{White}\colorbox{#E74C3C}{ 0pts }}

T1

得分:0pts{\color{#E74C3C}{0pts}}

题型:模拟+暴枚

死因:多枚举了四位数的结果,然后…就寄了{\color{white}{寄了}}

T2

得分:100pts{\color{#52C41A}{100pts}}

题型:模拟+暴枚

死因:没死{\color{white}{没死}}

题目总结:这道题十分简单,只需按照题目要求在for循环中枚举便可~

T3

得分:0pts{\color{#E74C3C}{0pts}}

题型:深搜模板题

死因:忘记如何输出路径了,所以挂的很惨—— 肥肠de悲痛!!!{\color{white}{肥肠de悲痛!!!}}

来自史咩咩的输出路径↓↓↓

C++
void dfs(int x,int y,int cnt){
	vis[x][y]=1;
	p[cnt][0]=x;
	p[cnt][1]=y;
	if(x==r&&y==c) {
		for(int i=1;i<cnt;i++) cout<<p[i][0]<<" "<<p[i][1]<<endl;
		return;
	}
	for(int i=0;i<4;i++){
		int nx=x+dx[i],ny=y+dy[i];
		if(nx<1||nx>r||ny<1||ny>c) continue;
		if(vis[nx][ny]||a[nx][ny]=='*') continue;
		vis[nx][ny]=1;
		dfs(nx,ny,cnt+1);
		vis[nx][ny]=0;
	}
}

T4

得分:0pts{\color{#E74C3C}{0pts}}

题型:广搜模板+亿丢丢物理常识

死因:剩余时间不足,且没有读懂题

总结:

这次做的并不是很好,有一些不该犯的错误,还要多多改进。 唉——!菜就多练{\color{white}{唉——!菜就多练}}

原文