0_0_39090180_6831\Main.java:18: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_39090180_6831\Main.java:18: 错误: 需要class, interface或enum
#include <stdio.h>
^
0_0_39090180_6831\Main.java:19: 错误: 非法字符: '#'
#include <string.h>
^
0_0_39090180_6831\Main.java:20: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_39090180_6831\Main.java:23: 错误: 需要class, interface或enum
typedef int llt;
^
0_0_39090180_6831\Main.java:25: 错误: 需要class, interface或enum
llt const SIZE = 100010;
^
0_0_39090180_6831\Main.java:26: 错误: 需要class, interface或enum
llt const MOD = 10007;
^
0_0_39090180_6831\Main.java:28: 错误: 需要class, interface或enum
inline int lson(int x){return x<<1;}
^
0_0_39090180_6831\Main.java:28: 错误: 需要class, interface或enum
inline int lson(int x){return x<<1;}
^
0_0_39090180_6831\Main.java:29: 错误: 需要class, interface或enum
inline int rson(int x){return lson(x)|1;}
^
0_0_39090180_6831\Main.java:34: 错误: 需要class, interface或enum
llt Lazy[3][SIZE<<2];
^
0_0_39090180_6831\Main.java:36: 错误: 需要class, interface或enum
inline void _pushUp(int t){
^
0_0_39090180_6831\Main.java:38: 错误: 需要class, interface或enum
ST[0][t] = ( ST[0][ls] + ST[0][rs] ) % MOD;
^
0_0_39090180_6831\Main.java:39: 错误: 需要class, interface或enum
ST[1][t] = ( ST[1][ls] + ST[1][rs] ) % MOD;
^
0_0_39090180_6831\Main.java:40: 错误: 需要class, interface或enum
ST[2][t] = ( ST[2][ls] + ST[2][rs] ) % MOD;
^
0_0_39090180_6831\Main.java:41: 错误: 需要class, interface或enum
}
^
0_0_39090180_6831\Main.java:45: 错误: 需要class, interface或enum
llt k3 = k2 * k % MOD;
^
0_0_39090180_6831\Main.java:46: 错误: 需要class, interface或enum
llt b2 = b * b % MOD;
^
0_0_39090180_6831\Main.java:47: 错误: 需要class, interface或enum
llt b3 = b2 * b % MOD;
^
0_0_39090180_6831\Main.java:50: 错误: 需要class, interface或enum
ST[2][t] = k3 * ST[2][t] % MOD + 3 * k2 % MOD * b % MOD * ST[1][t] % MOD + 3 * k % MOD * b2 % MOD * ST[0][t] % MOD + len * b3 % MOD;
^
0_0_39090180_6831\Main.java:52: 错误: 需要class, interface或enum
ST[1][t] = k2 * ST[1][t] % MOD + 2 * k % MOD * b % MOD * ST[0][t] % MOD + len * b2 % MOD;
^
0_0_39090180_6831\Main.java:54: 错误: 需要class, interface或enum
ST[0][t] = k * ST[0][t] % MOD + len * b % MOD;
^
0_0_39090180_6831\Main.java:56: 错误: 需要class, interface或enum
ST[0][t] %= MOD;
^
0_0_39090180_6831\Main.java:57: 错误: 需要class, interface或enum
ST[1][t] %= MOD;
^
0_0_39090180_6831\Main.java:58: 错误: 需要class, interface或enum
ST[2][t] %= MOD;
^
0_0_39090180_6831\Main.java:59: 错误: 需要class, interface或enum
}
^
0_0_39090180_6831\Main.java:64: 错误: 需要class, interface或enum
int mid = ( s + e ) >> 1;
^
0_0_39090180_6831\Main.java:65: 错误: 需要class, interface或enum
int llen = ( mid - s + 1 ) % MOD;
^
0_0_39090180_6831\Main.java:66: 错误: 需要class, interface或enum
int rlen = ( e - mid ) % MOD;
^
0_0_39090180_6831\Main.java:67: 错误: 需要class, interface或enum
int ls = lson(t), rs = rson(t);
^
0_0_39090180_6831\Main.java:69: 错误: 需要class, interface或enum
llt &k = Lazy[0][t], &b = Lazy[1][t], &x = Lazy[2][t];
^
0_0_39090180_6831\Main.java:71: 错误: 需要class, interface或enum
if ( x ){//存在赋值操作
^
0_0_39090180_6831\Main.java:74: 错误: 需要class, interface或enum
ST[0][ls] = llen * tmp % MOD;
^
0_0_39090180_6831\Main.java:75: 错误: 需要class, interface或enum
ST[0][rs] = rlen * tmp % MOD;
^
0_0_39090180_6831\Main.java:77: 错误: 需要class, interface或enum
ST[1][ls] = ST[0][ls] * tmp % MOD;
^
0_0_39090180_6831\Main.java:78: 错误: 需要class, interface或enum
ST[1][rs] = ST[0][rs] * tmp % MOD;
^
0_0_39090180_6831\Main.java:80: 错误: 需要class, interface或enum
ST[2][ls] = ST[1][ls] * tmp % MOD;
^
0_0_39090180_6831\Main.java:81: 错误: 需要class, interface或enum
ST[2][rs] = ST[1][rs] * tmp % MOD;
^
0_0_39090180_6831\Main.java:83: 错误: 需要class, interface或enum
Lazy[0][ls] = Lazy[0][rs] = k;
^
0_0_39090180_6831\Main.java:84: 错误: 需要class, interface或enum
Lazy[1][ls] = Lazy[1][rs] = b;
^
0_0_39090180_6831\Main.java:85: 错误: 需要class, interface或enum
Lazy[2][ls] = Lazy[2][rs] = x;
^
0_0_39090180_6831\Main.java:86: 错误: 需要class, interface或enum
}else{//不存在赋值操作
^
0_0_39090180_6831\Main.java:88: 错误: 需要class, interface或enum
_f(rson(t),rlen,k,b);
^
0_0_39090180_6831\Main.java:90: 错误: 需要class, interface或enum
Lazy[0][ls] = Lazy[0][ls] * k % MOD;
^
0_0_39090180_6831\Main.java:91: 错误: 需要class, interface或enum
Lazy[1][ls] = ( Lazy[1][ls] * k % MOD + b ) % MOD;
^
0_0_39090180_6831\Main.java:92: 错误: 需要class, interface或enum
Lazy[0][rs] = Lazy[0][rs] * k % MOD;
^
0_0_39090180_6831\Main.java:93: 错误: 需要class, interface或enum
Lazy[1][rs] = ( Lazy[1][rs] * k % MOD + b ) % MOD;
^
0_0_39090180_6831\Main.java:94: 错误: 需要class, interface或enum
}
^
0_0_39090180_6831\Main.java:97: 错误: 需要class, interface或enum
b = 0;
^
0_0_39090180_6831\Main.java:98: 错误: 需要class, interface或enum
x = 0;
^
0_0_39090180_6831\Main.java:99: 错误: 需要class, interface或enum
}
^
0_0_39090180_6831\Main.java:105: 错误: 需要class, interface或enum
}
^
0_0_39090180_6831\Main.java:108: 错误: 需要class, interface或enum
int mid = ( s + e ) >> 1;
^
0_0_39090180_6831\Main.java:109: 错误: 需要class, interface或enum
llt ans = 0;
^
0_0_39090180_6831\Main.java:110: 错误: 需要class, interface或enum
if ( a <= mid ) ans = ( ans + query(lson(t),s,mid,a,b,p) ) % MOD;
^
0_0_39090180_6831\Main.java:111: 错误: 需要class, interface或enum
if ( mid < b ) ans = ( ans + query(rson(t),mid+1,e,a,b,p) ) % MOD;
^
0_0_39090180_6831\Main.java:112: 错误: 需要class, interface或enum
return ans;
^
0_0_39090180_6831\Main.java:113: 错误: 需要class, interface或enum
}
^
0_0_39090180_6831\Main.java:120: 错误: 需要class, interface或enum
if ( 1 == op ){//+para
^
0_0_39090180_6831\Main.java:122: 错误: 需要class, interface或enum
Lazy[1][t] = ( Lazy[1][t] + para ) % MOD;
^
0_0_39090180_6831\Main.java:123: 错误: 需要class, interface或enum
}else if ( 2 == op ){//*para
^
0_0_39090180_6831\Main.java:125: 错误: 需要class, interface或enum
Lazy[0][t] = Lazy[0][t] * para % MOD;
^
0_0_39090180_6831\Main.java:126: 错误: 需要class, interface或enum
Lazy[1][t] = Lazy[1][t] * para % MOD;
^
0_0_39090180_6831\Main.java:127: 错误: 需要class, interface或enum
}else{
^
0_0_39090180_6831\Main.java:129: 错误: 需要class, interface或enum
ST[1][t] = ST[0][t] * para % MOD;
^
0_0_39090180_6831\Main.java:130: 错误: 需要class, interface或enum
ST[2][t] = ST[1][t] * para % MOD;
^
0_0_39090180_6831\Main.java:131: 错误: 需要class, interface或enum
Lazy[0][t] = 1;
^
0_0_39090180_6831\Main.java:132: 错误: 需要class, interface或enum
Lazy[1][t] = 0;
^
0_0_39090180_6831\Main.java:133: 错误: 需要class, interface或enum
Lazy[2][t] = para;
^
0_0_39090180_6831\Main.java:134: 错误: 需要class, interface或enum
}
^
0_0_39090180_6831\Main.java:137: 错误: 需要class, interface或enum
}
^
0_0_39090180_6831\Main.java:140: 错误: 需要class, interface或enum
int mid = ( s + e ) >> 1;
^
0_0_39090180_6831\Main.java:141: 错误: 需要class, interface或enum
if ( a <= mid ) modify(lson(t),s,mid,a,b,op,para);
^
0_0_39090180_6831\Main.java:142: 错误: 需要class, interface或enum
if ( mid < b ) modify(rson(t),mid+1,e,a,b,op,para);
^
0_0_39090180_6831\Main.java:143: 错误: 需要class, interface或enum
_pushUp(t);
^
0_0_39090180_6831\Main.java:144: 错误: 需要class, interface或enum
}
^
0_0_39090180_6831\Main.java:151: 错误: 需要class, interface或enum
while( scanf("%d%d",&n,&m) ){
^
0_0_39090180_6831\Main.java:154: 错误: 需要class, interface或enum
fill(ST[0],ST[0]+n*4+1,(llt)0);
^
0_0_39090180_6831\Main.java:155: 错误: 需要class, interface或enum
fill(ST[1],ST[1]+n*4+1,(llt)0);
^
0_0_39090180_6831\Main.java:156: 错误: 需要class, interface或enum
fill(ST[2],ST[2]+n*4+1,(llt)0);
^
0_0_39090180_6831\Main.java:158: 错误: 需要class, interface或enum
fill(Lazy[0],Lazy[0]+n*4+1,(llt)1);
^
0_0_39090180_6831\Main.java:159: 错误: 需要class, interface或enum
fill(Lazy[1],Lazy[1]+n*4+1,(llt)0);
^
0_0_39090180_6831\Main.java:160: 错误: 需要class, interface或enum
fill(Lazy[2],Lazy[2]+n*4+1,(llt)0);
^
0_0_39090180_6831\Main.java:162: 错误: 需要class, interface或enum
while(m--){
^
0_0_39090180_6831\Main.java:164: 错误: 需要class, interface或enum
if ( 4 == cmd ){
^
0_0_39090180_6831\Main.java:166: 错误: 需要class, interface或enum
}else{
^
0_0_39090180_6831\Main.java:168: 错误: 需要class, interface或en
|