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_15581492_30038.cpp:2:16: error: too many decimal points in number
 type arr=array[1..72,1..72]of longint;
                ^
0_0_15581492_30038.cpp:2:22: error: too many decimal points in number
 type arr=array[1..72,1..72]of longint;
                      ^
0_0_15581492_30038.cpp:4:15: error: too many decimal points in number
     num:array[0..9,0..6]of longint;
               ^
0_0_15581492_30038.cpp:4:20: error: too many decimal points in number
     num:array[0..9,0..6]of longint;
                    ^
0_0_15581492_30038.cpp:1:7: error: 'mo' does not name a type
 const mo=1000000007;
       ^
0_0_15581492_30038.cpp:2:1: error: 'type' does not name a type
 type arr=array[1..72,1..72]of longint;
 ^
0_0_15581492_30038.cpp:3:1: error: 'var' does not name a type
 var ans,bz,c,save:arr;
 ^
0_0_15581492_30038.cpp:4:8: error: found ':' in nested-name-specifier, expected '::'
     num:array[0..9,0..6]of longint;
        ^
0_0_15581492_30038.cpp:4:5: error: 'num' does not name a type
     num:array[0..9,0..6]of longint;
     ^
0_0_15581492_30038.cpp:5:5: error: 'cas' does not name a type
     cas,v,k,l,r,k1,i,s,j:longint;
     ^
0_0_15581492_30038.cpp:6:8: error: found ':' in nested-name-specifier, expected '::'
     sum:int64;
        ^
0_0_15581492_30038.cpp:6:5: error: 'sum' does not name a type
     sum:int64;
     ^
0_0_15581492_30038.cpp:8:1: error: 'function' does not name a type
 function mul(a,b:arr):arr;
 ^
0_0_15581492_30038.cpp:9:1: error: 'var' does not name a type
 var i,j,k:longint;
 ^
0_0_15581492_30038.cpp:10:5: error: 'x' does not name a type
     x,y:int64;
     ^
0_0_15581492_30038.cpp:11:1: error: 'begin' does not name a type
 begin
 ^
0_0_15581492_30038.cpp:13:2: error: expected unqualified-id before 'for'
  for i:=1 to 72 do
  ^
0_0_15581492_30038.cpp:18:5: error: 'y' does not name a type
     y:=1;
     ^
0_0_15581492_30038.cpp:19:5: error: 'y' does not name a type
     y:=y*a[i,j] mod mo*b[j,k] mod mo;
     ^
0_0_15581492_30038.cpp:20:5: error: 'c' does not name a type
     c[i,k]:=(x+y) mod mo;
     ^
0_0_15581492_30038.cpp:24:4: error: 'end' does not name a type
    end;
    ^
0_0_15581492_30038.cpp:26:6: error: expected constructor, destructor, or type conversion before '(' token
  exit(c);
      ^
0_0_15581492_30038.cpp:27:1: error: 'end' does not name a type
 end;
 ^
0_0_15581492_30038.cpp:29:1: error: 'procedure' does not name a type
 procedure buildmartix;
 ^
0_0_15581492_30038.cpp:30:1: error: 'var' does not name a type
 var i,j,k:longint;
 ^
0_0_15581492_30038.cpp:31:1: error: 'begin' does not name a type
 begin
 ^
0_0_15581492_30038.cpp:33:2: error: expected unqualified-id before 'for'
  for i:=1 to 9 do bz[71,num[i,i mod 7]]:=1;
  ^
0_0_15581492_30038.cpp:34:2: error: expected unqualified-id before 'for'
  for i:=0 to 9 do
  ^
0_0_15581492_30038.cpp:40:5: error: 'end' does not name a type
     end;
     ^
0_0_15581492_30038.cpp:41:2: error: expected unqualified-id before 'for'
  for i:=0 to 9 do bz[num[i,0],72]:=1;
  ^
0_0_15581492_30038.cpp:42:2: error: 'bz' does not name a type
  bz[72,72]:=1;
  ^
0_0_15581492_30038.cpp:43:1: error: 'end' does not name a type
 end;
 ^
0_0_15581492_30038.cpp:45:1: error: 'begin' does not name a type
 begin
 ^
0_0_15581492_30038.cpp:48:2: error: expected unqualified-id before 'for'
  for i:=0 to 9 do
  ^
0_0_15581492_30038.cpp:51:12: error: 'num' does not name a type
    inc(s); num[i,j]:=s;
            ^
0_0_15581492_30038.cpp:52:3: error: 'end' does not name a type
   end;
   ^
0_0_15581492_30038.cpp:53:2: error: expected unqualified-id before 'for'
  for v:=1 to cas do
  ^
0_0_15581492_30038.cpp:56:11: error: expected constructor, destructor, or type conversion before '(' token
   fillchar(bz,sizeof(bz),0);
           ^
0_0_15581492_30038.cpp:57:3: error: 'buildmartix' does not name a type
   buildmartix;
   ^
0_0_15581492_30038.cpp:58:3: error: 'sum' does not name a type
   sum:=0;
   ^
0_0_15581492_30038.cpp:59:3: error: 'k' does not name a type
   k:=r+1;
   ^
0_0_15581492_30038.cpp:60:11: error: expected constructor, destructor, or type conversion before '(' token
   fillchar(ans,sizeof(ans),0);
           ^
0_0_15581492_30038.cpp:61:3: error: 'save' does not name a type
   save:=bz;
   ^
0_0_15581492_30038.cpp:62:3: error: 'ans' does not name a type
   ans[71,71]:=1;
   ^
0_0_15581492_30038.cpp:64:3: error: expected unqualified-id before 'while'
   while k>0 do
   ^
0_0_15581492_30038.cpp:67:4: error: 'bz' does not name a type
    bz:=mul(bz,bz);
    ^
0_0_15581492_30038.cpp:68:4: error: 'k' does not name a type
    k:=k>>1;
    ^
0_0_15581492_30038.cpp:69:3: error: 'end' does not name a type
   end;
   ^
0_0_15581492_30038.cpp:71:3: error: 'sum' does not name a type
   sum:=ans[71,72];
   ^
0_0_15581492_30038.cpp:72:11: error: expected constructor, destructor, or type conversion before '(' token
   fillchar(ans,sizeof(ans),0);
           ^
0_0_15581492_30038.cpp:73:3: error: 'ans' does not name a type
   ans[71,71]:=1;
   ^
0_0_15581492_30038.cpp:75:3: error: 'bz' does not name a type
   bz:=save;
   ^
0_0_15581492_30038.cpp:76:3: error: 'k' does not name a type
   k:=l;
   ^
0_0_15581492_30038.cpp:77:3: error: expected unqualified-id before 'while'
   while k>0 do
   ^
0_0_15581492_30038.cpp:80:4: error: 'bz' does not name a type
    bz:=mul(bz,bz);
    ^
0_0_15581492_30038.cpp:81:4: error: 'k' does not name a type
    k:=k>>1;
    ^
0_0_15581492_30038.cpp:82:3: error: 'end' does not name a type
   end;
   ^
0_0_15581492_30038.cpp:84:3: error: 'sum' does not name a type
   sum:=(sum-ans[71,72]) mod mo;
   ^
0_0_15581492_30038.cpp:85:3: error: 'sum' does not name a type
   sum:=(sum+mo) mod mo;
   ^
0_0_15581492_30038.cpp:86:10: error: expected constructor, destructor, or type conversion before '(' token
   writeln(sum);
          ^
0_0_15581492_30038.cpp:87:2: error: 'end' does not name a type
  end;
  ^
0_0_15581492_30038.cpp:89: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-12-02 02:26:48, Gzip enabled