0_0_28627761_16402\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_28627761_16402\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
^
0_0_28627761_16402\Main.java:2: 错误: 非法字符: '#'
#include<queue>
^
0_0_28627761_16402\Main.java:4: 错误: 需要class, interface或enum
struct node{
^
0_0_28627761_16402\Main.java:6: 错误: 需要class, interface或enum
}nds[9999];
^
0_0_28627761_16402\Main.java:7: 错误: 需要class, interface或enum
int main()
^
0_0_28627761_16402\Main.java:10: 错误: 需要class, interface或enum
cin>>n>>k;
^
0_0_28627761_16402\Main.java:11: 错误: 需要class, interface或enum
queue<node> q;
^
0_0_28627761_16402\Main.java:12: 错误: 需要class, interface或enum
node nd = {n,0};
^
0_0_28627761_16402\Main.java:13: 错误: 需要class, interface或enum
q.push(nd);
^
0_0_28627761_16402\Main.java:14: 错误: 需要class, interface或enum
while(q.size())
^
0_0_28627761_16402\Main.java:17: 错误: 需要class, interface或enum
node a,b,c;
^
0_0_28627761_16402\Main.java:18: 错误: 需要class, interface或enum
q.pop();
^
0_0_28627761_16402\Main.java:19: 错误: 需要class, interface或enum
if(x.pos == k)
^
0_0_28627761_16402\Main.java:22: 错误: 需要class, interface或enum
break;
^
0_0_28627761_16402\Main.java:23: 错误: 需要class, interface或enum
}
^
0_0_28627761_16402\Main.java:25: 错误: 需要class, interface或enum
q.push(a);
^
0_0_28627761_16402\Main.java:27: 错误: 需要class, interface或enum
b={x.pos+1,x.step+1};
^
0_0_28627761_16402\Main.java:28: 错误: 需要class, interface或enum
q.push(b);
^
0_0_28627761_16402\Main.java:30: 错误: 需要class, interface或enum
c={x.pos*2,x.step+1};
^
0_0_28627761_16402\Main.java:31: 错误: 需要class, interface或enum
q.push(c);
^
0_0_28627761_16402\Main.java:32: 错误: 需要class, interface或enum
}
^
0_0_28627761_16402\Main.java:35: 错误: 需要class, interface或enum
}
^
23 个错误
|