0_0_22675086_7207.cpp:18:9: error: '_int128' does not name a type
typedef _int128 ll;///long long
^
0_0_22675086_7207.cpp:21:1: error: 'll' does not name a type
ll b[MAXN][MAXN],c[MAXN][MAXN];
^
0_0_22675086_7207.cpp:22:1: error: 'll' does not name a type
ll exgcd(ll a,ll b,ll &x,ll &y)
^
0_0_22675086_7207.cpp:31:5: error: 'll' does not name a type
ll a,b;
^
0_0_22675086_7207.cpp: In member function 'g g::operator+(const g&) const':
0_0_22675086_7207.cpp:36:12: error: 'b' was not declared in this scope
if(b==-1||d.b==-1) {c.a=1;c.b=-1;return c;}
^
0_0_22675086_7207.cpp:36:21: error: 'const struct g' has no member named 'b'
if(b==-1||d.b==-1) {c.a=1;c.b=-1;return c;}
^
0_0_22675086_7207.cpp:36:31: error: 'struct g' has no member named 'a'
if(b==-1||d.b==-1) {c.a=1;c.b=-1;return c;}
^
0_0_22675086_7207.cpp:36:37: error: 'struct g' has no member named 'b'
if(b==-1||d.b==-1) {c.a=1;c.b=-1;return c;}
^
0_0_22675086_7207.cpp:37:9: error: 'll' was not declared in this scope
ll x,y;
^
0_0_22675086_7207.cpp:38:12: error: expected ';' before 'e'
ll e=exgcd(a,d.a,x,y);
^
0_0_22675086_7207.cpp:39:15: error: 'const struct g' has no member named 'b'
if((d.b-b)%e!=0) {c.a=1;c.b=-1;return c;}
^
0_0_22675086_7207.cpp:39:17: error: 'b' was not declared in this scope
if((d.b-b)%e!=0) {c.a=1;c.b=-1;return c;}
^
0_0_22675086_7207.cpp:39:20: error: 'e' was not declared in this scope
if((d.b-b)%e!=0) {c.a=1;c.b=-1;return c;}
^
0_0_22675086_7207.cpp:39:29: error: 'struct g' has no member named 'a'
if((d.b-b)%e!=0) {c.a=1;c.b=-1;return c;}
^
0_0_22675086_7207.cpp:39:35: error: 'struct g' has no member named 'b'
if((d.b-b)%e!=0) {c.a=1;c.b=-1;return c;}
^
0_0_22675086_7207.cpp:40:11: error: 'struct g' has no member named 'a'
c.a=a/e*d.a;
^
0_0_22675086_7207.cpp:40:13: error: 'a' was not declared in this scope
c.a=a/e*d.a;
^
0_0_22675086_7207.cpp:40:15: error: 'e' was not declared in this scope
c.a=a/e*d.a;
^
0_0_22675086_7207.cpp:40:19: error: 'const struct g' has no member named 'a'
c.a=a/e*d.a;
^
0_0_22675086_7207.cpp:41:9: error: 'x' was not declared in this scope
x*=(d.b-b)/e;
^
0_0_22675086_7207.cpp:41:15: error: 'const struct g' has no member named 'b'
x*=(d.b-b)/e;
^
0_0_22675086_7207.cpp:41:17: error: 'b' was not declared in this scope
x*=(d.b-b)/e;
^
0_0_22675086_7207.cpp:42:12: error: expected ';' before 'bb'
ll bb=d.a/e;
^
0_0_22675086_7207.cpp:47:14: error: 'bb' was not declared in this scope
x=(x%bb+bb)%bb;
^
0_0_22675086_7207.cpp:48:11: error: 'struct g' has no member named 'b'
c.b=a*x+b;
^
0_0_22675086_7207.cpp:52:11: error: 'struct g' has no member named 'b'
c.b=(c.b%c.a+c.a)%c.a;
^
0_0_22675086_7207.cpp:52:16: error: 'struct g' has no member named 'b'
c.b=(c.b%c.a+c.a)%c.a;
^
0_0_22675086_7207.cpp:52:20: error: 'struct g' has no member named 'a'
c.b=(c.b%c.a+c.a)%c.a;
^
0_0_22675086_7207.cpp:52:24: error: 'struct g' has no member named 'a'
c.b=(c.b%c.a+c.a)%c.a;
^
0_0_22675086_7207.cpp:52:29: error: 'struct g' has no member named 'a'
c.b=(c.b%c.a+c.a)%c.a;
^
0_0_22675086_7207.cpp: In member function 'void tree::query1(int, int, int)':
0_0_22675086_7207.cpp:68:37: error: 'struct g' has no member named 'b'
ans=ans+a[xo][o];if(ans.b==-1) return;
^
0_0_22675086_7207.cpp: In member function 'void tree::build1(int, int, int)':
0_0_22675086_7207.cpp:96:26: error: 'struct g' has no member named 'a'
a[xo][o].a=b[x][l];a[xo][o].b=c[x][l]%a[xo][o].a;
^
0_0_22675086_7207.cpp:96:28: error: 'b' was not declared in this scope
a[xo][o].a=b[x][l];a[xo][o].b=c[x][l]%a[xo][o].a;
^
0_0_22675086_7207.cpp:96:45: error: 'struct g' has no member named 'b'
a[xo][o].a=b[x][l];a[xo][o].b=c[x][l]%a[xo][o].a;
^
0_0_22675086_7207.cpp:96:47: error: 'c' was not declared in this scope
a[xo][o].a=b[x][l];a[xo][o].b=c[x][l]%a[xo][o].a;
^
0_0_22675086_7207.cpp:96:64: error: 'struct g' has no member named 'a'
a[xo][o].a=b[x][l];a[xo][o].b=c[x][l]%a[xo][o].a;
^
0_0_22675086_7207.cpp: In member function 'void tree::query()':
0_0_22675086_7207.cpp:123:22: error: 'struct g' has no member named 'a'
void query(){ans.a=1;ans.b=0;query2(1,1,n);}
^
0_0_22675086_7207.cpp:123:30: error: 'struct g' has no member named 'b'
void query(){ans.a=1;ans.b=0;query2(1,1,n);}
^
0_0_22675086_7207.cpp: In function 'int main()':
0_0_22675086_7207.cpp:148:28: error: 'c' was not declared in this scope
scanf("%I64d",&c[i][j]);
^
0_0_22675086_7207.cpp:152:28: error: 'b' was not declared in this scope
scanf("%I64d",&b[i][j]);
^
0_0_22675086_7207.cpp:168:36: error: 'struct g' has no member named 'b'
printf("%I64d\n",t.ans.b);
^
|