#include<iostream>
using namespace std;
#define OK 1
#define ERROR 0
typedef int ElemType;
typedef int Status;
//定义单链表节点
typedef struct LNode{
ElemType data;
struct LNode *next;
}LNode, *LinkList;
//函数声明:n为总人数,m表示数到m的人出列
void josephus(int n, int m);
int main(){
int n,m;
cin>>n>>m;
josephus(n,m);
return 0;
}
void josephus(int n, int m){ //函数实现部分
/*请在这里填写答案*/
}
using namespace std;
#define OK 1
#define ERROR 0
typedef int ElemType;
typedef int Status;
//定义单链表节点
typedef struct LNode{
ElemType data;
struct LNode *next;
}LNode, *LinkList;
//函数声明:n为总人数,m表示数到m的人出列
void josephus(int n, int m);
int main(){
int n,m;
cin>>n>>m;
josephus(n,m);
return 0;
}
void josephus(int n, int m){ //函数实现部分
/*请在这里填写答案*/
}