摘要:
要求每次都输出的约瑟夫环#include <iostream>#include <cstdio>#include <cstring>using namespace std;char s[100][30];int flag[100];int n, w, S, num, k;int main(){ while(scanf("%d", &n)!=EOF) { for(int i = 1;i <= n;i++) { scanf("%s", s[i]); flag[i] = 1; } scanf("%d, 阅读全文