0_0_15813884_24192\Main.java:3: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_15813884_24192\Main.java:3: 错误: 需要class, interface或enum
#include<stdio.h>
^
0_0_15813884_24192\Main.java:4: 错误: 非法字符: '#'
#include<string.h>
^
0_0_15813884_24192\Main.java:5: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_15813884_24192\Main.java:7: 错误: 需要class, interface或enum
int n;
^
0_0_15813884_24192\Main.java:8: 错误: 需要class, interface或enum
int bit[50005];
^
0_0_15813884_24192\Main.java:9: 错误: 需要class, interface或enum
int lowbit(int x){
^
0_0_15813884_24192\Main.java:11: 错误: 需要class, interface或enum
}
^
0_0_15813884_24192\Main.java:14: 错误: 需要class, interface或enum
while(i>0){
^
0_0_15813884_24192\Main.java:16: 错误: 需要class, interface或enum
i-=lowbit(i);
^
0_0_15813884_24192\Main.java:17: 错误: 需要class, interface或enum
}
^
0_0_15813884_24192\Main.java:19: 错误: 需要class, interface或enum
}
^
0_0_15813884_24192\Main.java:23: 错误: 需要class, interface或enum
i+=lowbit(i);
^
0_0_15813884_24192\Main.java:24: 错误: 需要class, interface或enum
}
^
0_0_15813884_24192\Main.java:29: 错误: 需要class, interface或enum
int i;
^
0_0_15813884_24192\Main.java:30: 错误: 需要class, interface或enum
int ans;
^
0_0_15813884_24192\Main.java:31: 错误: 需要class, interface或enum
int l,r,mid;
^
0_0_15813884_24192\Main.java:32: 错误: 需要class, interface或enum
int a[50005],A[50005];
^
0_0_15813884_24192\Main.java:33: 错误: 需要class, interface或enum
scanf("%d",&t);
^
0_0_15813884_24192\Main.java:34: 错误: 需要class, interface或enum
while(t--){
^
0_0_15813884_24192\Main.java:36: 错误: 需要class, interface或enum
scanf("%d",&n);
^
0_0_15813884_24192\Main.java:37: 错误: 需要class, interface或enum
A[0]=0;
^
0_0_15813884_24192\Main.java:38: 错误: 需要class, interface或enum
for(i=1;i<=n;i++){
^
0_0_15813884_24192\Main.java:38: 错误: 需要class, interface或enum
for(i=1;i<=n;i++){
^
0_0_15813884_24192\Main.java:38: 错误: 需要class, interface或enum
for(i=1;i<=n;i++){
^
0_0_15813884_24192\Main.java:40: 错误: 需要class, interface或enum
add(i,1);
^
0_0_15813884_24192\Main.java:41: 错误: 需要class, interface或enum
}
^
0_0_15813884_24192\Main.java:42: 错误: 需要class, interface或enum
for(i=n;i>=1;i--)
^
0_0_15813884_24192\Main.java:42: 错误: 需要class, interface或enum
for(i=n;i>=1;i--)
^
0_0_15813884_24192\Main.java:44: 错误: 需要class, interface或enum
for(i=n;i>=1;i--)
^
0_0_15813884_24192\Main.java:44: 错误: 需要class, interface或enum
for(i=n;i>=1;i--)
^
0_0_15813884_24192\Main.java:44: 错误: 需要class, interface或enum
for(i=n;i>=1;i--)
^
0_0_15813884_24192\Main.java:46: 错误: 需要class, interface或enum
l=1;r=ans=n;
^
0_0_15813884_24192\Main.java:47: 错误: 需要class, interface或enum
while(l<=r){
^
0_0_15813884_24192\Main.java:49: 错误: 需要class, interface或enum
if(sum(mid)>=A[i]){
^
0_0_15813884_24192\Main.java:51: 错误: 需要class, interface或enum
ans=mid;
^
0_0_15813884_24192\Main.java:53: 错误: 需要class, interface或enum
}
^
0_0_15813884_24192\Main.java:56: 错误: 需要class, interface或enum
}
^
0_0_15813884_24192\Main.java:58: 错误: 需要class, interface或enum
add(ans,-1);
^
0_0_15813884_24192\Main.java:59: 错误: 需要class, interface或enum
}
^
0_0_15813884_24192\Main.java:60: 错误: 需要class, interface或enum
for(i=1;i<n;i++)
^
0_0_15813884_24192\Main.java:60: 错误: 需要class, interface或enum
for(i=1;i<n;i++)
^
0_0_15813884_24192\Main.java:62: 错误: 需要class, interface或enum
printf("%d\n",a[n]);
^
0_0_15813884_24192\Main.java:63: 错误: 需要class, interface或enum
}
^
0_0_15813884_24192\Main.java:65: 错误: 需要class, interface或enum
}
^
45 个错误
|