0_0_30267632_12564\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_30267632_12564\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
^
0_0_30267632_12564\Main.java:2: 错误: 非法字符: '#'
#define pb push_back
^
0_0_30267632_12564\Main.java:3: 错误: 非法字符: '#'
#define all(x) x.begin(),x.end()
^
0_0_30267632_12564\Main.java:6: 错误: 需要class, interface或enum
struct node{
^
0_0_30267632_12564\Main.java:8: 错误: 需要class, interface或enum
friend bool operator<(const node &x,const node &y){
^
0_0_30267632_12564\Main.java:9: 错误: 需要class, interface或enum
for(int i=0;i<4;i++)if(x.v[i]<y.v[i])return 1;
^
0_0_30267632_12564\Main.java:9: 错误: 需要class, interface或enum
for(int i=0;i<4;i++)if(x.v[i]<y.v[i])return 1;
^
0_0_30267632_12564\Main.java:10: 错误: 需要class, interface或enum
return 0;
^
0_0_30267632_12564\Main.java:11: 错误: 需要class, interface或enum
}
^
0_0_30267632_12564\Main.java:14: 错误: 需要class, interface或enum
int main(){
^
0_0_30267632_12564\Main.java:16: 错误: 需要class, interface或enum
vector<node> ret;
^
0_0_30267632_12564\Main.java:17: 错误: 需要class, interface或enum
for(int i=0;i<5;i++)a[i]=i+1;
^
0_0_30267632_12564\Main.java:17: 错误: 需要class, interface或enum
for(int i=0;i<5;i++)a[i]=i+1;
^
0_0_30267632_12564\Main.java:17: 错误: 需要class, interface或enum
for(int i=0;i<5;i++)a[i]=i+1;
^
0_0_30267632_12564\Main.java:18: 错误: 需要class, interface或enum
do{
^
0_0_30267632_12564\Main.java:20: 错误: 需要class, interface或enum
for(int i=0;i<4;i++)t.v[i]=a[i+1]-a[i];
^
0_0_30267632_12564\Main.java:20: 错误: 需要class, interface或enum
for(int i=0;i<4;i++)t.v[i]=a[i+1]-a[i];
^
0_0_30267632_12564\Main.java:20: 错误: 需要class, interface或enum
for(int i=0;i<4;i++)t.v[i]=a[i+1]-a[i];
^
0_0_30267632_12564\Main.java:21: 错误: 需要class, interface或enum
ret.pb(t);
^
0_0_30267632_12564\Main.java:22: 错误: 需要class, interface或enum
}while(next_permutation(all(a)));
^
0_0_30267632_12564\Main.java:23: 错误: 需要class, interface或enum
sort(all(ret));
^
0_0_30267632_12564\Main.java:24: 错误: 需要class, interface或enum
puts("hello");
^
0_0_30267632_12564\Main.java:25: 错误: 需要class, interface或enum
for(auto v:ret){
^
0_0_30267632_12564\Main.java:26: 错误: 需要class, interface或enum
for(int i=0;i<4;i++)printf("%d ",v.v[i]);
^
0_0_30267632_12564\Main.java:26: 错误: 需要class, interface或enum
for(int i=0;i<4;i++)printf("%d ",v.v[i]);
^
0_0_30267632_12564\Main.java:27: 错误: 需要class, interface或enum
puts("");
^
0_0_30267632_12564\Main.java:28: 错误: 需要class, interface或enum
}
^
0_0_30267632_12564\Main.java:30: 错误: 需要class, interface或enum
}
^
29 个错误
|