0_0_17906097_8106.cpp:10:9: error: expected unqualified-id before 'int'
int l,int c[560];
^
0_0_17906097_8106.cpp: In function 'node operator+(node, node)':
0_0_17906097_8106.cpp:17:14: error: 'struct node' has no member named 'c'
ll x=a.c[i]+b.c[i]+t; d.c[i]=0;
^
0_0_17906097_8106.cpp:17:21: error: 'struct node' has no member named 'c'
ll x=a.c[i]+b.c[i]+t; d.c[i]=0;
^
0_0_17906097_8106.cpp:17:31: error: 'struct node' has no member named 'c'
ll x=a.c[i]+b.c[i]+t; d.c[i]=0;
^
0_0_17906097_8106.cpp:18:27: error: 'struct node' has no member named 'c'
if (x>=bas) {t=1; d.c[i]=x-bas;}
^
0_0_17906097_8106.cpp:19:14: error: 'struct node' has no member named 'c'
else d.c[i]=x;
^
0_0_17906097_8106.cpp:21:11: error: 'struct node' has no member named 'c'
if (d.c[d.l]==0) d.l--;
^
0_0_17906097_8106.cpp: In function 'node operator*(node, node)':
0_0_17906097_8106.cpp:27:14: error: 'struct node' has no member named 'c'
memset(d.c,0,sizeof(d.c));
^
0_0_17906097_8106.cpp:27:27: error: 'struct node' has no member named 'c'
memset(d.c,0,sizeof(d.c));
^
0_0_17906097_8106.cpp:33:16: error: 'struct node' has no member named 'c'
ll x=d.c[i+j-1]+(ll)a.c[i]*(ll)b.c[j]+t;
^
0_0_17906097_8106.cpp:33:31: error: 'struct node' has no member named 'c'
ll x=d.c[i+j-1]+(ll)a.c[i]*(ll)b.c[j]+t;
^
0_0_17906097_8106.cpp:33:42: error: 'struct node' has no member named 'c'
ll x=d.c[i+j-1]+(ll)a.c[i]*(ll)b.c[j]+t;
^
0_0_17906097_8106.cpp:35:11: error: 'struct node' has no member named 'c'
d.c[i+j-1]=x%bas;
^
0_0_17906097_8106.cpp:38:14: error: 'struct node' has no member named 'c'
while (d.c[d.l]==0) d.l--;
^
0_0_17906097_8106.cpp: In function 'int main()':
0_0_17906097_8106.cpp:45:44: error: 'struct node' has no member named 'c'
for (int i=0; i<10; i++) {a[i].l=1; a[i].c[1]=1;}
^
0_0_17906097_8106.cpp:58:22: error: 'struct node' has no member named 'c'
printf("%d",a[i].c[a[i].l]);
^
0_0_17906097_8106.cpp:59:51: error: 'struct node' has no member named 'c'
for (int j=a[i].l-1;j;j--) printf("%09d",a[i].c[j]);
^
|