0_0_19528475_14249\Main.java:1: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_19528475_14249\Main.java:1: 错误: 需要class, interface或enum
#include<cstdio>
^
0_0_19528475_14249\Main.java:2: 错误: 非法字符: '#'
#include<cstring>
^
0_0_19528475_14249\Main.java:3: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_19528475_14249\Main.java:4: 错误: 非法字符: '#'
#include<iostream>
^
0_0_19528475_14249\Main.java:6: 错误: 需要class, interface或enum
const int maxn = 110 ;
^
0_0_19528475_14249\Main.java:7: 错误: 需要class, interface或enum
typedef int ll;
^
0_0_19528475_14249\Main.java:8: 错误: 需要class, interface或enum
ll ans = 0 ;
^
0_0_19528475_14249\Main.java:9: 错误: 需要class, interface或enum
ll a[maxn] ;
^
0_0_19528475_14249\Main.java:10: 错误: 需要class, interface或enum
ll n , m ;
^
0_0_19528475_14249\Main.java:11: 错误: 需要class, interface或enum
int k ;
^
0_0_19528475_14249\Main.java:12: 错误: 需要class, interface或enum
void dfs(int pos , int num , int sum)
^
0_0_19528475_14249\Main.java:15: 错误: 需要class, interface或enum
if(pos == k + 1)return ;
^
0_0_19528475_14249\Main.java:16: 错误: 需要class, interface或enum
dfs(pos + 1 , num , sum) ;
^
0_0_19528475_14249\Main.java:17: 错误: 需要class, interface或enum
if(sum + a[pos] <= m && num + 1 <= n)
^
0_0_19528475_14249\Main.java:19: 错误: 需要class, interface或enum
}
^
0_0_19528475_14249\Main.java:25: 错误: 需要class, interface或enum
for(int i = 1;i <= k;i++)
^
0_0_19528475_14249\Main.java:25: 错误: 需要class, interface或enum
for(int i = 1;i <= k;i++)
^
0_0_19528475_14249\Main.java:25: 错误: 需要class, interface或enum
for(int i = 1;i <= k;i++)
^
0_0_19528475_14249\Main.java:27: 错误: 需要class, interface或enum
sort(a+1 , a+1+k) ;
^
0_0_19528475_14249\Main.java:28: 错误: 需要class, interface或enum
int sum = 0 ;
^
0_0_19528475_14249\Main.java:29: 错误: 需要class, interface或enum
for(int i = k;i >= k - n + 1 ; i --)
^
0_0_19528475_14249\Main.java:29: 错误: 需要class, interface或enum
for(int i = k;i >= k - n + 1 ; i --)
^
0_0_19528475_14249\Main.java:29: 错误: 需要class, interface或enum
for(int i = k;i >= k - n + 1 ; i --)
^
0_0_19528475_14249\Main.java:31: 错误: 需要class, interface或enum
if(sum <= m){cout<<sum<<endl;continue ;}
^
0_0_19528475_14249\Main.java:31: 错误: 需要class, interface或enum
if(sum <= m){cout<<sum<<endl;continue ;}
^
0_0_19528475_14249\Main.java:31: 错误: 需要class, interface或enum
if(sum <= m){cout<<sum<<endl;continue ;}
^
0_0_19528475_14249\Main.java:33: 错误: 需要class, interface或enum
dfs(1 , 0 , 0) ;
^
0_0_19528475_14249\Main.java:34: 错误: 需要class, interface或enum
cout<<ans<<endl;
^
0_0_19528475_14249\Main.java:35: 错误: 需要class, interface或enum
}
^
30 个错误
|