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_29470540_28158.c:3:5: error: unknown type name 'LL'
     LL ma[2][2];
     ^
0_0_29470540_28158.c:6:1: error: unknown type name 'LL'
 LL nn[20],xx[20];
 ^
0_0_29470540_28158.c:7:1: error: unknown type name 'matrix'
 matrix operator * (matrix a,matrix b)
 ^
0_0_29470540_28158.c:7:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 matrix operator * (matrix a,matrix b)
                 ^
0_0_29470540_28158.c:17:1: error: unknown type name 'matrix'
 matrix operator + (matrix a,matrix b)
 ^
0_0_29470540_28158.c:17:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '+' token
 matrix operator + (matrix a,matrix b)
                 ^
0_0_29470540_28158.c: In function 'init':
0_0_29470540_28158.c:26:5: error: unknown type name 'matrix'
     matrix a;
     ^
0_0_29470540_28158.c:27:6: error: request for member 'ma' in something not a structure or union
     a.ma[0][0] = 1;
      ^
0_0_29470540_28158.c:28:6: error: request for member 'ma' in something not a structure or union
     a.ma[0][1] = 7;
      ^
0_0_29470540_28158.c:29:6: error: request for member 'ma' in something not a structure or union
     a.ma[1][0] = 7;
      ^
0_0_29470540_28158.c:30:6: error: request for member 'ma' in something not a structure or union
     a.ma[1][1] = 48;
      ^
0_0_29470540_28158.c:31:5: error: unknown type name 'matrix'
     matrix temp = a;
     ^
0_0_29470540_28158.c:35:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
     for(int i = 1 ;i <= 18 ; i++)
     ^
0_0_29470540_28158.c:35:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_29470540_28158.c:39:13: error: unknown type name 'LL'
             LL s1 = temp.ma[0][1] * 7 + temp.ma[1][1] * 1;
             ^
0_0_29470540_28158.c:39:25: error: request for member 'ma' in something not a structure or union
             LL s1 = temp.ma[0][1] * 7 + temp.ma[1][1] * 1;
                         ^
0_0_29470540_28158.c:39:45: error: request for member 'ma' in something not a structure or union
             LL s1 = temp.ma[0][1] * 7 + temp.ma[1][1] * 1;
                                             ^
0_0_29470540_28158.c:41:13: error: unknown type name 'LL'
             LL s2 = temp.ma[0][0] * 7 + temp.ma[1][0] * 1;
             ^
0_0_29470540_28158.c:41:25: error: request for member 'ma' in something not a structure or union
             LL s2 = temp.ma[0][0] * 7 + temp.ma[1][0] * 1;
                         ^
0_0_29470540_28158.c:41:45: error: request for member 'ma' in something not a structure or union
             LL s2 = temp.ma[0][0] * 7 + temp.ma[1][0] * 1;
                                             ^
0_0_29470540_28158.c: In function 'main':
0_0_29470540_28158.c:50:5: error: unknown type name 'LL'
     LL N;
     ^
0_0_29470540_28158.c:51:11: error: 'cin' undeclared (first use in this function)
     while(cin>>N && N)
           ^
0_0_29470540_28158.c:51:11: note: each undeclared identifier is reported only once for each function it appears in
0_0_29470540_28158.c:53:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
         for(int i = 7 ; i >= 0 ; i--)
         ^
0_0_29470540_28158.c:57:17: error: 'cout' undeclared (first use in this function)
                 cout<<nn[i]<<" "<<xx[i]<<endl;
                 ^
0_0_29470540_28158.c:57:42: error: 'endl' undeclared (first use in this function)
                 cout<<nn[i]<<" "<<xx[i]<<endl;
                                          ^


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-26 04:40:07, Gzip enabled