ecnu数据结构月考题: 循环链表解决约瑟夫问题 题目不是很难啦,单纯记录一下自己学习的足迹。 如果对于需要的人能有帮助,那真是再好不过了嘻嘻♪(・ω・)ノ 题目 代码 #include<stdio.h> #include<stdlib.h> #include<malloc.h> struct node{ int name; struct node*next; }; int main() { int n,m; struct node*head =(struct node*