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_16452723_4769.cpp: In function 'node matrix_x(node, node)':
0_0_16452723_4769.cpp:18:25: error: cannot convert 'node' to 'void*' for argument '1' to 'void* memset(void*, int, size_t)'
     memset(z,0,sizeof(z));
                         ^
0_0_16452723_4769.cpp:22:15: error: 'struct node' has no member named 'map'
         if(!a.map[i][k])
               ^
0_0_16452723_4769.cpp:26:11: error: 'struct node' has no member named 'map'
         z.map[i][j]+=a.map[i][k]*b.map[k][j];
           ^
0_0_16452723_4769.cpp:26:24: error: 'struct node' has no member named 'map'
         z.map[i][j]+=a.map[i][k]*b.map[k][j];
                        ^
0_0_16452723_4769.cpp:26:36: error: 'struct node' has no member named 'map'
         z.map[i][j]+=a.map[i][k]*b.map[k][j];
                                    ^
0_0_16452723_4769.cpp: In function 'int main()':
0_0_16452723_4769.cpp:33:5: error: 'K' was not declared in this scope
     K=0;
     ^
0_0_16452723_4769.cpp:41:34: error: 'struct node' has no member named 'map'
                 scanf("%d",&M[i].map[j][k]);
                                  ^
0_0_16452723_4769.cpp:47:27: error: expected ';' before ')' token
         for(int i=0;i<L1++)
                           ^
0_0_16452723_4769.cpp:47:27: error: expected statement at end of input
0_0_16452723_4769.cpp:47:27: error: expected '}' at end of input
0_0_16452723_4769.cpp:47:27: error: expected '}' at end of input


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-10-02 21:24:03, Gzip enabled