0_0_22674893_9979.cpp:18:9: error: '_int128' does not name a type
typedef _int128 ll;
^
0_0_22674893_9979.cpp:19:9: error: '_int128' does not name a type
typedef _int128 int;
^
0_0_22674893_9979.cpp:23:1: error: 'll' does not name a type
ll exgcd(ll a,ll b,ll &x,ll &y)
^
0_0_22674893_9979.cpp:32:5: error: 'll' does not name a type
ll a,b;
^
0_0_22674893_9979.cpp: In member function 'g g::operator+(const g&) const':
0_0_22674893_9979.cpp:37:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(b==-1||d.b==-1) {c.a=1;c.b=-1;return c;}
^
0_0_22674893_9979.cpp:37: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_22674893_9979.cpp:37: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_22674893_9979.cpp:37: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_22674893_9979.cpp:38:9: error: 'll' was not declared in this scope
ll x,y;
^
0_0_22674893_9979.cpp:39:12: error: expected ';' before 'e'
ll e=exgcd(a,d.a,x,y);
^
0_0_22674893_9979.cpp:40: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_22674893_9979.cpp:40: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_22674893_9979.cpp:40: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_22674893_9979.cpp:40: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_22674893_9979.cpp:41:11: error: 'struct g' has no member named 'a'
c.a=a/e*d.a;
^
0_0_22674893_9979.cpp:41:13: error: 'a' was not declared in this scope
c.a=a/e*d.a;
^
0_0_22674893_9979.cpp:41:15: error: 'e' was not declared in this scope
c.a=a/e*d.a;
^
0_0_22674893_9979.cpp:41:19: error: 'const struct g' has no member named 'a'
c.a=a/e*d.a;
^
0_0_22674893_9979.cpp:42:9: error: 'x' was not declared in this scope
x*=(d.b-b)/e;
^
0_0_22674893_9979.cpp:42:15: error: 'const struct g' has no member named 'b'
x*=(d.b-b)/e;
^
0_0_22674893_9979.cpp:43:12: error: expected ';' before 'bb'
ll bb=d.a/e;
^
0_0_22674893_9979.cpp:49:11: error: 'struct g' has no member named 'b'
c.b=a*x+b;
^
0_0_22674893_9979.cpp: In member function 'void tree::query1(int, int, int)':
0_0_22674893_9979.cpp:69:37: error: 'struct g' has no member named 'b'
ans=ans+a[xo][o];if(ans.b==-1) return;
^
0_0_22674893_9979.cpp: In member function 'void tree::build1(int, int, int)':
0_0_22674893_9979.cpp:97: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_22674893_9979.cpp:97: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_22674893_9979.cpp:97: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_22674893_9979.cpp: In member function 'void tree::query()':
0_0_22674893_9979.cpp:124:22: error: 'struct g' has no member named 'a'
void query(){ans.a=1;ans.b=0;query2(1,1,n);}
^
0_0_22674893_9979.cpp:124:30: error: 'struct g' has no member named 'b'
void query(){ans.a=1;ans.b=0;query2(1,1,n);}
^
0_0_22674893_9979.cpp: In function 'int main()':
0_0_22674893_9979.cpp:169:36: error: 'struct g' has no member named 'b'
printf("%I64d\n",t.ans.b);
^
|