0_0_28580138_29791\Main.java:1: 错误: 非法字符: '#'
#define mm(a) memset(a,0,sizeof(a));
^
0_0_28580138_29791\Main.java:1: 错误: 需要class, interface或enum
#define mm(a) memset(a,0,sizeof(a));
^
0_0_28580138_29791\Main.java:2: 错误: 非法字符: '#'
#define max(x,y) (x)>(y)?(x):(y)
^
0_0_28580138_29791\Main.java:2: 错误: 需要class, interface或enum
#define max(x,y) (x)>(y)?(x):(y)
^
0_0_28580138_29791\Main.java:3: 错误: 非法字符: '#'
#define min(x,y) (x)<(y)?(x):(y)
^
0_0_28580138_29791\Main.java:4: 错误: 非法字符: '#'
#define Fopen freopen("1.in","r",stdin); freopen("m.out","w",stdout);
^
0_0_28580138_29791\Main.java:4: 错误: 需要class, interface或enum
#define Fopen freopen("1.in","r",stdin); freopen("m.out","w",stdout);
^
0_0_28580138_29791\Main.java:5: 错误: 非法字符: '#'
#define rep(i,a,b) for(int i=(a);i<=(b);i++)
^
0_0_28580138_29791\Main.java:5: 错误: 需要class, interface或enum
#define rep(i,a,b) for(int i=(a);i<=(b);i++)
^
0_0_28580138_29791\Main.java:5: 错误: 需要class, interface或enum
#define rep(i,a,b) for(int i=(a);i<=(b);i++)
^
0_0_28580138_29791\Main.java:5: 错误: 需要class, interface或enum
#define rep(i,a,b) for(int i=(a);i<=(b);i++)
^
0_0_28580138_29791\Main.java:6: 错误: 非法字符: '#'
#define per(i,b,a) for(int i=(b);i>=(a);i--)
^
0_0_28580138_29791\Main.java:6: 错误: 需要class, interface或enum
#define per(i,b,a) for(int i=(b);i>=(a);i--)
^
0_0_28580138_29791\Main.java:6: 错误: 需要class, interface或enum
#define per(i,b,a) for(int i=(b);i>=(a);i--)
^
0_0_28580138_29791\Main.java:7: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_28580138_29791\Main.java:9: 错误: 需要class, interface或enum
using namespace std;
^
0_0_28580138_29791\Main.java:10: 错误: 需要class, interface或enum
const int INF=0x3f3f3f3f;
^
0_0_28580138_29791\Main.java:11: 错误: 需要class, interface或enum
const int MAXN=2e5+5;
^
0_0_28580138_29791\Main.java:12: 错误: 需要class, interface或enum
const ll mod=1000000007;
^
0_0_28580138_29791\Main.java:14: 错误: 需要class, interface或enum
struct BIT {
^
0_0_28580138_29791\Main.java:16: 错误: 需要class, interface或enum
int n;
^
0_0_28580138_29791\Main.java:17: 错误: 需要class, interface或enum
void init(int _n) {
^
0_0_28580138_29791\Main.java:19: 错误: 需要class, interface或enum
mm(sum);
^
0_0_28580138_29791\Main.java:20: 错误: 需要class, interface或enum
}
^
0_0_28580138_29791\Main.java:23: 错误: 需要class, interface或enum
}
^
0_0_28580138_29791\Main.java:27: 错误: 需要class, interface或enum
sum[x]%=mod;
^
0_0_28580138_29791\Main.java:28: 错误: 需要class, interface或enum
x+=lowbit(x);
^
0_0_28580138_29791\Main.java:29: 错误: 需要class, interface或enum
}
^
0_0_28580138_29791\Main.java:31: 错误: 需要class, interface或enum
}
^
0_0_28580138_29791\Main.java:34: 错误: 需要class, interface或enum
while(x) {
^
0_0_28580138_29791\Main.java:36: 错误: 需要class, interface或enum
x-=lowbit(x);
^
0_0_28580138_29791\Main.java:37: 错误: 需要class, interface或enum
ans%=mod;
^
0_0_28580138_29791\Main.java:38: 错误: 需要class, interface或enum
}
^
0_0_28580138_29791\Main.java:40: 错误: 需要class, interface或enum
}
^
0_0_28580138_29791\Main.java:42: 错误: 需要class, interface或enum
struct node {
^
0_0_28580138_29791\Main.java:44: 错误: 需要class, interface或enum
ll fi,se;
^
0_0_28580138_29791\Main.java:45: 错误: 需要class, interface或enum
} q[MAXN];
^
0_0_28580138_29791\Main.java:46: 错误: 需要class, interface或enum
int m,n;
^
0_0_28580138_29791\Main.java:47: 错误: 需要class, interface或enum
ll mp[MAXN];
^
0_0_28580138_29791\Main.java:48: 错误: 需要class, interface或enum
vector<ll>v;
^
0_0_28580138_29791\Main.java:49: 错误: 需要class, interface或enum
int getid(ll x) {
^
0_0_28580138_29791\Main.java:51: 错误: 需要class, interface或enum
}
^
0_0_28580138_29791\Main.java:54: 错误: 需要class, interface或enum
while(l<=r) {
^
0_0_28580138_29791\Main.java:56: 错误: 需要class, interface或enum
if(bitcnt.query(mid)>=x) {
^
0_0_28580138_29791\Main.java:58: 错误: 需要class, interface或enum
ans=mid;
^
0_0_28580138_29791\Main.java:59: 错误: 需要class, interface或enum
} else {
^
0_0_28580138_29791\Main.java:61: 错误: 需要class, interface或enum
}
^
0_0_28580138_29791\Main.java:64: 错误: 需要class, interface或enum
if(bitcnt.query(ans)>x) {
^
0_0_28580138_29791\Main.java:66: 错误: 需要class, interface或enum
}
^
0_0_28580138_29791\Main.java:68: 错误: 需要class, interface或enum
num%=mod;
^
0_0_28580138_29791\Main.java:69: 错误: 需要class, interface或enum
num+=mod;
^
0_0_28580138_29791\Main.java:70: 错误: 需要class, interface或enum
num%=mod;
^
0_0_28580138_29791\Main.java:71: 错误: 需要class, interface或enum
return num;
^
0_0_28580138_29791\Main.java:72: 错误: 需要class, interface或enum
}
^
0_0_28580138_29791\Main.java:75: 错误: 需要class, interface或enum
for(int i=1; i<=m; i++) {
^
0_0_28580138_29791\Main.java:75: 错误: 需要class, interface或enum
for(int i=1; i<=m; i++) {
^
0_0_28580138_29791\Main.java:75: 错误: 需要class, interface或enum
for(int i=1; i<=m; i++) {
^
0_0_28580138_29791\Main.java:77: 错误: 需要class, interface或enum
v.push_back(q[i].se);
^
0_0_28580138_29791\Main.java:78: 错误: 需要class, interface或enum
}
^
0_0_28580138_29791\Main.java:80: 错误: 需要class, interface或enum
n=v.size();
^
0_0_28580138_29791\Main.java:81: 错误: 需要class, interface或enum
for(int i=1; i<=m; i++) {
^
0_0_28580138_29791\Main.java:81: 错误: 需要class, interface或enum
for(int i=1; i<=m; i++) {
^
0_0_28580138_29791\Main.java:81: 错误: 需要class, interface或enum
for(int i=1; i<=m; i++) {
^
0_0_28580138_29791\Main.java:83: 错误: 需要class, interface或enum
mp[q[i].id]=q[i].se;
^
0_0_28580138_29791\Main.java:84: 错误: 需要class, interface或enum
}
^
0_0_28580138_29791\Main.java:86: 错误: 需要class, interface或enum
bitval.init(n);
^
0_0_28580138_29791\Main.java:87: 错误: 需要class, interface或enum
for(int i=1; i<=m; i++) {
^
0_0_28580138_29791\Main.java:87: 错误: 需要class, interface或enum
for(int i=1; i<=m; i++) {
^
0_0_28580138_29791\Main.java:87: 错误: 需要class, interface或enum
for(int i=1; i<=m; i++) {
^
0_0_28580138_29791\Main.java:90: 错误: 需要class, interface或enum
bitval.update(1,q[i].fi*q[i].se%mod);
^
0_0_28580138_29791\Main.java:91: 错误: 需要class, interface或enum
bitval.update(q[i].id+1,-q[i].fi*q[i].se%mod);
^
0_0_28580138_29791\Main.java:92: 错误: 需要class, interface或enum
} else if(q[i].op==2) {
^
0_0_28580138_29791\Main.java:94: 错误: 需要class, interface或enum
ans%=mod;
^
0_0_28580138_29791\Main.java:95: 错误: 需要class, interface或enum
ans+=mod;
^
0_0_28580138_29791\Main.java:96: 错误: 需要class, interface或enum
ans%=mod;
^
0_0_28580138_29791\Main.java:97: 错误: 需要class, interface或enum
printf("%lld\n",ans);
^
0_0_28580138_29791\Main.java:98: 错误: 需要class, interface或enum
}
^
0_0_28580138_29791\Main.java:101: 错误: 需要class, interface或enum
}
^
78 个错误
|