F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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]);
                                                   ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-29 16:30:58, Gzip enabled