#include<iostream>
#include<cstdio>
using namespace std;
struct node
{
int zt;//表示小人的状态 0朝向圈内 1朝向圈外
char name[1001];
}a[10001];//小人
struct zl
{
int fx;//表示该条指令所指的方向 0向左 1向外
int bs;//在该方向上所走的步数
}b[10001];
string
int main()
{
int n;//小人个数
int m;//指令个数
for(int i=1;i<=n;i++)
{
cin>>a[i].zt;
scanf("%s",a[i].name);
}
for(int i=1;i<=m;i++)
{
cin>>b[i].fx;
cin>>b[i].bs;
}
int tot=1;//表示此时已经进行了now条指令
while(tot!=m+1)
{
if([b[tot].fx==0])//向左
{

}
else if(b[tot].fx==1)//向右
{


}
}
return 0;
}

相关文章:

  • 2022-01-18
  • 2022-02-16
  • 2022-12-23
  • 2021-11-24
  • 2021-07-08
  • 2021-07-27
  • 2021-10-19
  • 2021-11-17
猜你喜欢
  • 2021-10-28
  • 2021-10-04
  • 2021-10-26
  • 2021-08-06
  • 2021-08-12
  • 2021-08-19
相关资源
相似解决方案