0_0_16552268_1111\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_16552268_1111\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
^
0_0_16552268_1111\Main.java:2: 错误: 非法字符: '#'
#include<cstring>
^
0_0_16552268_1111\Main.java:3: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_16552268_1111\Main.java:4: 错误: 非法字符: '#'
#include<list>
^
0_0_16552268_1111\Main.java:7: 错误: 需要class, interface或enum
int JosephusProblem_Solution2(int n, int m)
^
0_0_16552268_1111\Main.java:10: 错误: 需要class, interface或enum
unsigned i;
^
0_0_16552268_1111\Main.java:12: 错误: 需要class, interface或enum
for(i = 1; i <= n; i++)
^
0_0_16552268_1111\Main.java:12: 错误: 需要class, interface或enum
for(i = 1; i <= n; i++)
^
0_0_16552268_1111\Main.java:12: 错误: 需要class, interface或enum
for(i = 1; i <= n; i++)
^
0_0_16552268_1111\Main.java:14: 错误: 需要class, interface或enum
list<int>::iterator iterCurrent = listInt.begin();
^
0_0_16552268_1111\Main.java:15: 错误: 需要class, interface或enum
while(listInt.size() > 1)
^
0_0_16552268_1111\Main.java:18: 错误: 需要class, interface或enum
for(i = 1; i <= m-1; i++)
^
0_0_16552268_1111\Main.java:18: 错误: 需要class, interface或enum
for(i = 1; i <= m-1; i++)
^
0_0_16552268_1111\Main.java:22: 错误: 需要class, interface或enum
}
^
0_0_16552268_1111\Main.java:25: 错误: 需要class, interface或enum
if(++iterCurrent == listInt.end())
^
0_0_16552268_1111\Main.java:28: 错误: 需要class, interface或enum
listInt.erase(iterDel);
^
0_0_16552268_1111\Main.java:29: 错误: 需要class, interface或enum
m++;
^
0_0_16552268_1111\Main.java:30: 错误: 需要class, interface或enum
}
^
0_0_16552268_1111\Main.java:32: 错误: 需要class, interface或enum
}
^
0_0_16552268_1111\Main.java:37: 错误: 需要class, interface或enum
scanf("%d",&t);
^
0_0_16552268_1111\Main.java:38: 错误: 需要class, interface或enum
int q;
^
0_0_16552268_1111\Main.java:39: 错误: 需要class, interface或enum
for(int j=1;j<=t;j++)
^
0_0_16552268_1111\Main.java:39: 错误: 需要class, interface或enum
for(int j=1;j<=t;j++)
^
0_0_16552268_1111\Main.java:39: 错误: 需要class, interface或enum
for(int j=1;j<=t;j++)
^
0_0_16552268_1111\Main.java:42: 错误: 需要class, interface或enum
cout<<JosephusProblem_Solution2(q,1)<<endl;
^
0_0_16552268_1111\Main.java:43: 错误: 需要class, interface或enum
}
^
0_0_16552268_1111\Main.java:46: 错误: 需要class, interface或enum
}
^
28 个错误
|