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_30508663_11098.c:8:26: error: expected specifier-qualifier-list before '/' token
      double mat[5][5];   // 存储矩阵中各元素
                          ^
0_0_30508663_11098.c:8:26: error: stray '\264' in program
0_0_30508663_11098.c:8:26: error: stray '\346' in program
0_0_30508663_11098.c:8:26: error: stray '\264' in program
0_0_30508663_11098.c:8:26: error: stray '\242' in program
0_0_30508663_11098.c:8:26: error: stray '\276' in program
0_0_30508663_11098.c:8:26: error: stray '\330' in program
0_0_30508663_11098.c:8:26: error: stray '\325' in program
0_0_30508663_11098.c:8:26: error: stray '\363' in program
0_0_30508663_11098.c:8:26: error: stray '\326' in program
0_0_30508663_11098.c:8:26: error: stray '\320' in program
0_0_30508663_11098.c:8:26: error: stray '\270' in program
0_0_30508663_11098.c:8:26: error: stray '\367' in program
0_0_30508663_11098.c:8:26: error: stray '\324' in program
0_0_30508663_11098.c:8:26: error: stray '\252' in program
0_0_30508663_11098.c:8:26: error: stray '\313' in program
0_0_30508663_11098.c:8:26: error: stray '\330' in program
0_0_30508663_11098.c:10:1: error: unknown type name 'Matrix'
 Matrix matMul(Matrix a ,Matrix b,int n)
 ^
0_0_30508663_11098.c:10:15: error: unknown type name 'Matrix'
 Matrix matMul(Matrix a ,Matrix b,int n)
               ^
0_0_30508663_11098.c:10:25: error: unknown type name 'Matrix'
 Matrix matMul(Matrix a ,Matrix b,int n)
                         ^
0_0_30508663_11098.c:22:1: error: unknown type name 'Matrix'
 Matrix quickMatPow(Matrix a ,int n,int b) // n阶矩阵a快速b次幂
 ^
0_0_30508663_11098.c:22:20: error: unknown type name 'Matrix'
 Matrix quickMatPow(Matrix a ,int n,int b) // n阶矩阵a快速b次幂
                    ^
0_0_30508663_11098.c:22:20: error: stray '\275' in program
0_0_30508663_11098.c:22:20: error: stray '\327' in program
0_0_30508663_11098.c:22:20: error: stray '\276' in program
0_0_30508663_11098.c:22:20: error: stray '\330' in program
0_0_30508663_11098.c:22:20: error: stray '\325' in program
0_0_30508663_11098.c:22:20: error: stray '\363' in program
0_0_30508663_11098.c:22:20: error: stray '\277' in program
0_0_30508663_11098.c:22:20: error: stray '\354' in program
0_0_30508663_11098.c:22:20: error: stray '\313' in program
0_0_30508663_11098.c:22:20: error: stray '\331' in program
0_0_30508663_11098.c:22:20: error: stray '\264' in program
0_0_30508663_11098.c:22:20: error: stray '\316' in program
0_0_30508663_11098.c:22:20: error: stray '\303' in program
0_0_30508663_11098.c:22:20: error: stray '\335' in program
0_0_30508663_11098.c:38:1: error: unknown type name 'Matrix'
 Matrix translate(Matrix p, double x, double y, double z)    // 平移
 ^
0_0_30508663_11098.c:38:18: error: unknown type name 'Matrix'
 Matrix translate(Matrix p, double x, double y, double z)    // 平移
                  ^
0_0_30508663_11098.c:38:18: error: stray '\306' in program
0_0_30508663_11098.c:38:18: error: stray '\275' in program
0_0_30508663_11098.c:38:18: error: stray '\322' in program
0_0_30508663_11098.c:38:18: error: stray '\306' in program
0_0_30508663_11098.c:50:1: error: unknown type name 'Matrix'
 Matrix scale(Matrix p, double a, double b, double c)    //缩放
 ^
0_0_30508663_11098.c:50:14: error: unknown type name 'Matrix'
 Matrix scale(Matrix p, double a, double b, double c)    //缩放
              ^
0_0_30508663_11098.c:50:14: error: stray '\313' in program
0_0_30508663_11098.c:50:14: error: stray '\365' in program
0_0_30508663_11098.c:50:14: error: stray '\267' in program
0_0_30508663_11098.c:50:14: error: stray '\305' in program
0_0_30508663_11098.c:62:1: error: unknown type name 'Matrix'
 Matrix rotate(Matrix p, double x, double y, double z, double d)    // 旋转
 ^
0_0_30508663_11098.c:62:15: error: unknown type name 'Matrix'
 Matrix rotate(Matrix p, double x, double y, double z, double d)    // 旋转
               ^
0_0_30508663_11098.c:62:15: error: stray '\320' in program
0_0_30508663_11098.c:62:15: error: stray '\375' in program
0_0_30508663_11098.c:62:15: error: stray '\327' in program
0_0_30508663_11098.c:62:15: error: stray '\252' in program
0_0_30508663_11098.c:65:5: error: stray '\265' in program
     double di = sqrt(x*x+y*y+z*z);    //单位化
     ^
0_0_30508663_11098.c:65:5: error: stray '\245' in program
0_0_30508663_11098.c:65:5: error: stray '\316' in program
0_0_30508663_11098.c:65:5: error: stray '\273' in program
0_0_30508663_11098.c:65:5: error: stray '\273' in program
0_0_30508663_11098.c:65:5: error: stray '\257' in program
0_0_30508663_11098.c:82:1: error: unknown type name 'Matrix'
 Matrix work(int n)    
 ^
0_0_30508663_11098.c: In function 'work':
0_0_30508663_11098.c:84:5: error: unknown type name 'Matrix'
     Matrix p;
     ^
0_0_30508663_11098.c:87:13: error: request for member 'mat' in something not a structure or union
     memset(p.mat,0,sizeof(p.mat));
             ^
0_0_30508663_11098.c:87:28: error: request for member 'mat' in something not a structure or union
     memset(p.mat,0,sizeof(p.mat));
                            ^
0_0_30508663_11098.c:89:10: error: request for member 'mat' in something not a structure or union
         p.mat[i][i]=1;
          ^
0_0_30508663_11098.c: In function 'main':
0_0_30508663_11098.c:128:5: error: unknown type name 'Matrix'
     Matrix p;
     ^
0_0_30508663_11098.c:140:24: error: request for member 'mat' in something not a structure or union
                 a[i] =p.mat[i][1]*tx +p.mat[i][2]*ty +p.mat[i][3]*tz + p.mat[i][4]*td;
                        ^
0_0_30508663_11098.c:140:40: error: request for member 'mat' in something not a structure or union
                 a[i] =p.mat[i][1]*tx +p.mat[i][2]*ty +p.mat[i][3]*tz + p.mat[i][4]*td;
                                        ^
0_0_30508663_11098.c:140:56: error: request for member 'mat' in something not a structure or union
                 a[i] =p.mat[i][1]*tx +p.mat[i][2]*ty +p.mat[i][3]*tz + p.mat[i][4]*td;
                                                        ^
0_0_30508663_11098.c:140:73: error: request for member 'mat' in something not a structure or union
                 a[i] =p.mat[i][1]*tx +p.mat[i][2]*ty +p.mat[i][3]*tz + p.mat[i][4]*td;
                                                                         ^


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-07-01 13:25:38, Gzip enabled