You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
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