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_17831919_9081.cpp:3:11: error: too many decimal points in number
   x:array[0..100,0..100,0..100] of longint;
           ^
0_0_17831919_9081.cpp:3:18: error: too many decimal points in number
   x:array[0..100,0..100,0..100] of longint;
                  ^
0_0_17831919_9081.cpp:3:25: error: too many decimal points in number
   x:array[0..100,0..100,0..100] of longint;
                         ^
0_0_17831919_9081.cpp:1:1: error: 'var' does not name a type
 var
 ^
0_0_17831919_9081.cpp:3:4: error: found ':' in nested-name-specifier, expected '::'
   x:array[0..100,0..100,0..100] of longint;
    ^
0_0_17831919_9081.cpp:3:3: error: 'x' does not name a type
   x:array[0..100,0..100,0..100] of longint;
   ^
0_0_17831919_9081.cpp:4:1: error: 'function' does not name a type
 function w(a,b,c:longint):longint;
 ^
0_0_17831919_9081.cpp:5:1: error: 'begin' does not name a type
 begin
 ^
0_0_17831919_9081.cpp:10:28: error: 'w' does not name a type
     then begin x[a,b,c]:=1;w:=x[a,b,c]; end
                            ^
0_0_17831919_9081.cpp:10:41: error: 'end' does not name a type
     then begin x[a,b,c]:=1;w:=x[a,b,c]; end
                                         ^
0_0_17831919_9081.cpp:13:39: error: 'w' does not name a type
      then begin x[a,b,c]:=w(20,20,20);w:=x[a,b,c]; end
                                       ^
0_0_17831919_9081.cpp:13:52: error: 'end' does not name a type
      then begin x[a,b,c]:=w(20,20,20);w:=x[a,b,c]; end
                                                    ^
0_0_17831919_9081.cpp:17:59: error: 'w' does not name a type
        begin x[a,b,c]:=w(a,b,c-1)+w(a,b-1,c-1)-w(a,b-1,c);w:=x[a,b,c]; end
                                                           ^
0_0_17831919_9081.cpp:17:72: error: 'end' does not name a type
        begin x[a,b,c]:=w(a,b,c-1)+w(a,b-1,c-1)-w(a,b-1,c);w:=x[a,b,c]; end
                                                                        ^
0_0_17831919_9081.cpp:19:75: error: 'w' does not name a type
       begin x[a,b,c]:=w(a-1,b,c)+w(a-1,b-1,c)+w(a-1,b,c-1)-w(a-1,b-1,c-1);w:=x[a,b,c]; end;
                                                                           ^
0_0_17831919_9081.cpp:19:88: error: 'end' does not name a type
       begin x[a,b,c]:=w(a-1,b,c)+w(a-1,b-1,c)+w(a-1,b,c-1)-w(a-1,b-1,c-1);w:=x[a,b,c]; end;
                                                                                        ^
0_0_17831919_9081.cpp:20:1: error: 'end' does not name a type
 end;
 ^
0_0_17831919_9081.cpp:22:1: error: 'begin' does not name a type
 begin
 ^
0_0_17831919_9081.cpp:26:15: error: expected constructor, destructor, or type conversion before '(' token
       fillchar(x,sizeof(x),0);
               ^
0_0_17831919_9081.cpp:27:13: error: expected constructor, destructor, or type conversion before '(' token
        write('w','(',a1,',',b1,',',c1,')=');
             ^
0_0_17831919_9081.cpp:28:7: error: expected unqualified-id before 'if'
       if (a1<0) or (b1<0) or (c1<0)
       ^
0_0_17831919_9081.cpp:29:26: error: 'b1' does not name a type
         then begin a1:=0;b1:=0;c1:=0; end;
                          ^
0_0_17831919_9081.cpp:29:32: error: 'c1' does not name a type
         then begin a1:=0;b1:=0;c1:=0; end;
                                ^
0_0_17831919_9081.cpp:29:39: error: 'end' does not name a type
         then begin a1:=0;b1:=0;c1:=0; end;
                                       ^
0_0_17831919_9081.cpp:30:7: error: expected unqualified-id before 'if'
       if (a1>20) or (b1>20) or (c1>20)
       ^
0_0_17831919_9081.cpp:31:27: error: 'b1' does not name a type
         then begin a1:=20;b1:=20;c1:=20; end;
                           ^
0_0_17831919_9081.cpp:31:34: error: 'c1' does not name a type
         then begin a1:=20;b1:=20;c1:=20; end;
                                  ^
0_0_17831919_9081.cpp:31:42: error: 'end' does not name a type
         then begin a1:=20;b1:=20;c1:=20; end;
                                          ^
0_0_17831919_9081.cpp:32:14: error: expected constructor, destructor, or type conversion before '(' token
       writeln(w(a1,b1,c1));
              ^
0_0_17831919_9081.cpp:33:5: error: 'end' does not name a type
     end;
     ^
0_0_17831919_9081.cpp:34:1: error: 'end' does not name a type
 end.
 ^


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-16 07:24:16, Gzip enabled