0_0_30270107_7487\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_30270107_7487\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
^
0_0_30270107_7487\Main.java:2: 错误: 非法字符: '#'
#define pb push_back
^
0_0_30270107_7487\Main.java:3: 错误: 非法字符: '#'
#define all(x) x.begin(),x.end()
^
0_0_30270107_7487\Main.java:6: 错误: 需要class, interface或enum
int n,k;
^
0_0_30270107_7487\Main.java:7: 错误: 需要class, interface或enum
vector<vector<int>> ret;
^
0_0_30270107_7487\Main.java:9: 错误: 需要class, interface或enum
int main(){
^
0_0_30270107_7487\Main.java:12: 错误: 需要class, interface或enum
vector<int> v(n),diff(n);
^
0_0_30270107_7487\Main.java:13: 错误: 需要class, interface或enum
for(int i=0;i<n;i++)v[i]=i+1;
^
0_0_30270107_7487\Main.java:13: 错误: 需要class, interface或enum
for(int i=0;i<n;i++)v[i]=i+1;
^
0_0_30270107_7487\Main.java:13: 错误: 需要class, interface或enum
for(int i=0;i<n;i++)v[i]=i+1;
^
0_0_30270107_7487\Main.java:14: 错误: 需要class, interface或enum
do{
^
0_0_30270107_7487\Main.java:16: 错误: 需要class, interface或enum
for(int i=1;i<n;i++)diff[i]=v[i]-v[i-1];
^
0_0_30270107_7487\Main.java:16: 错误: 需要class, interface或enum
for(int i=1;i<n;i++)diff[i]=v[i]-v[i-1];
^
0_0_30270107_7487\Main.java:16: 错误: 需要class, interface或enum
for(int i=1;i<n;i++)diff[i]=v[i]-v[i-1];
^
0_0_30270107_7487\Main.java:17: 错误: 需要class, interface或enum
ret.pb(diff);
^
0_0_30270107_7487\Main.java:18: 错误: 需要class, interface或enum
}while(next_permutation(all(v)));
^
0_0_30270107_7487\Main.java:19: 错误: 需要class, interface或enum
sort(all(ret),[&](const vector<int> &x,const vector<int> &y)->bool{
^
0_0_30270107_7487\Main.java:20: 错误: 需要class, interface或enum
for(int i=1;i<n;i++){
^
0_0_30270107_7487\Main.java:20: 错误: 需要class, interface或enum
for(int i=1;i<n;i++){
^
0_0_30270107_7487\Main.java:22: 错误: 需要class, interface或enum
if(x[i]<y[i])return 1;
^
0_0_30270107_7487\Main.java:23: 错误: 需要class, interface或enum
}
^
0_0_30270107_7487\Main.java:25: 错误: 需要class, interface或enum
});
^
0_0_30270107_7487\Main.java:26: 错误: 需要class, interface或enum
vector<int> ans=ret[k-1];
^
0_0_30270107_7487\Main.java:27: 错误: 需要class, interface或enum
for(int i=1;i<n;i++)ans[i]+=ans[i-1];
^
0_0_30270107_7487\Main.java:27: 错误: 需要class, interface或enum
for(int i=1;i<n;i++)ans[i]+=ans[i-1];
^
0_0_30270107_7487\Main.java:27: 错误: 需要class, interface或enum
for(int i=1;i<n;i++)ans[i]+=ans[i-1];
^
0_0_30270107_7487\Main.java:28: 错误: 需要class, interface或enum
for(auto x:ans)printf("%d ",x);
^
0_0_30270107_7487\Main.java:29: 错误: 需要class, interface或enum
puts("");
^
0_0_30270107_7487\Main.java:31: 错误: 需要class, interface或enum
return 0;
^
0_0_30270107_7487\Main.java:32: 错误: 需要class, interface或enum
}
^
31 个错误
|