Files
python/TangDou/Bfs/题单.txt
HuangHai 1f397eca87 'commit'
2025-08-30 18:35:01 +08:00

40 lines
1.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

1、约瑟夫圆环
报数模拟。
有 n 个人围成一个圈,从 1 到 n 按顺序排好号。然后从第一个人开始顺时针
报数(从 1 到 3 报数),报到 3 的人退出圈子后,后面的人继续从 1 到 3 报
数,直到留下最后一个人游戏结束,问最后留下的是原来第几号。
输入描述:输入一个正整数 n(4<n<600)
输出描述:输出最后留下的人,原来的编号是多少?
【样例输入】
5
【样例输出】
4
====================================================
2、第十三届蓝桥杯赛STEMA第二轮初级组第四题
Pic00004.jpg
====================================================
3、P1135 奇怪的电梯
https://www.luogu.com.cn/problem/P1135
====================================================
4、蓝桥杯赛字符串的最大长度
D:\python\TangDou\LanQiao10ShengSai\10-省赛-C++-190318.pdf
====================================================
5、 1381: 课堂示例-14302-连通块 [dfs+bfs染色法]
http://oj.521ma.cn/problem.php?id=1381
6、 1382: 课堂示例-14301-数的变化
http://oj.521ma.cn/problem.php?id=1382
7、 1383: 课堂示例-14303-面积
http://oj.521ma.cn/problem.php?id=1383
8、 1384: 课堂作业-14301-抓住那头牛
http://oj.521ma.cn/problem.php?id=1384
9、 1385: 课堂作业-14302-细胞数量
http://oj.521ma.cn/problem.php?id=1385
10、 1386: 课堂作业-14303-迷宫问题
http://oj.521ma.cn/problem.php?id=1386