0_0_30268130_21088\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_30268130_21088\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
^
0_0_30268130_21088\Main.java:2: 错误: 非法字符: '#'
#define pb push_back
^
0_0_30268130_21088\Main.java:3: 错误: 非法字符: '#'
#define all(x) x.begin(),x.end()
^
0_0_30268130_21088\Main.java:6: 错误: 需要class, interface或enum
struct node {
^
0_0_30268130_21088\Main.java:9: 错误: 需要class, interface或enum
friend bool operator<(const node &x, const node &y) {
^
0_0_30268130_21088\Main.java:10: 错误: 需要class, interface或enum
for(int i = 0; i < 4; i++) {
^
0_0_30268130_21088\Main.java:10: 错误: 需要class, interface或enum
for(int i = 0; i < 4; i++) {
^
0_0_30268130_21088\Main.java:12: 错误: 需要class, interface或enum
if(x.v[i] > y.v[i])return false;
^
0_0_30268130_21088\Main.java:13: 错误: 需要class, interface或enum
}
^
0_0_30268130_21088\Main.java:15: 错误: 需要class, interface或enum
}
^
0_0_30268130_21088\Main.java:25: 错误: 需要class, interface或enum
int main() {
^
0_0_30268130_21088\Main.java:27: 错误: 需要class, interface或enum
vector<node> ret;
^
0_0_30268130_21088\Main.java:28: 错误: 需要class, interface或enum
for(int i = 0; i < 5; i++) a.push_back(i+1);
^
0_0_30268130_21088\Main.java:28: 错误: 需要class, interface或enum
for(int i = 0; i < 5; i++) a.push_back(i+1);
^
0_0_30268130_21088\Main.java:28: 错误: 需要class, interface或enum
for(int i = 0; i < 5; i++) a.push_back(i+1);
^
0_0_30268130_21088\Main.java:29: 错误: 需要class, interface或enum
do {
^
0_0_30268130_21088\Main.java:31: 错误: 需要class, interface或enum
for(int i = 0; i < 4; i++)t.v[i] = a[i + 1] - a[i];
^
0_0_30268130_21088\Main.java:31: 错误: 需要class, interface或enum
for(int i = 0; i < 4; i++)t.v[i] = a[i + 1] - a[i];
^
0_0_30268130_21088\Main.java:31: 错误: 需要class, interface或enum
for(int i = 0; i < 4; i++)t.v[i] = a[i + 1] - a[i];
^
0_0_30268130_21088\Main.java:32: 错误: 需要class, interface或enum
ret.pb(t);
^
0_0_30268130_21088\Main.java:33: 错误: 需要class, interface或enum
cout<<ret.size()<<endl;
^
0_0_30268130_21088\Main.java:34: 错误: 需要class, interface或enum
} while(next_permutation(all(a)));
^
0_0_30268130_21088\Main.java:36: 错误: 需要class, interface或enum
sort(ret.begin(),ret.end());
^
0_0_30268130_21088\Main.java:37: 错误: 需要class, interface或enum
puts("hello");
^
0_0_30268130_21088\Main.java:38: 错误: 需要class, interface或enum
for(auto v : ret) {
^
0_0_30268130_21088\Main.java:39: 错误: 需要class, interface或enum
for(int i = 0; i < 4; i++)printf("%d ", v.v[i]);
^
0_0_30268130_21088\Main.java:39: 错误: 需要class, interface或enum
for(int i = 0; i < 4; i++)printf("%d ", v.v[i]);
^
0_0_30268130_21088\Main.java:40: 错误: 需要class, interface或enum
puts("");
^
0_0_30268130_21088\Main.java:41: 错误: 需要class, interface或enum
}
^
0_0_30268130_21088\Main.java:43: 错误: 需要class, interface或enum
}
^
31 个错误
|