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_20846616_24744.cpp:2:28: error: too many decimal points in number
 a,s,d,ans:longint; z:array[0..13,0..13]of longint;lie:array[0..13]of longint;xie:array[-30..30,1..2]of longint;
                            ^
0_0_20846616_24744.cpp:2:34: error: too many decimal points in number
 a,s,d,ans:longint; z:array[0..13,0..13]of longint;lie:array[0..13]of longint;xie:array[-30..30,1..2]of longint;
                                  ^
0_0_20846616_24744.cpp:2:61: error: too many decimal points in number
 a,s,d,ans:longint; z:array[0..13,0..13]of longint;lie:array[0..13]of longint;xie:array[-30..30,1..2]of longint;
                                                             ^
0_0_20846616_24744.cpp:2:89: error: too many decimal points in number
 a,s,d,ans:longint; z:array[0..13,0..13]of longint;lie:array[0..13]of longint;xie:array[-30..30,1..2]of longint;
                                                                                         ^
0_0_20846616_24744.cpp:2:96: error: too many decimal points in number
 a,s,d,ans:longint; z:array[0..13,0..13]of longint;lie:array[0..13]of longint;xie:array[-30..30,1..2]of longint;
                                                                                                ^
0_0_20846616_24744.cpp:1:1: error: 'var' does not name a type
 var
 ^
0_0_20846616_24744.cpp:2:21: error: found ':' in nested-name-specifier, expected '::'
 a,s,d,ans:longint; z:array[0..13,0..13]of longint;lie:array[0..13]of longint;xie:array[-30..30,1..2]of longint;
                     ^
0_0_20846616_24744.cpp:2:20: error: 'z' does not name a type
 a,s,d,ans:longint; z:array[0..13,0..13]of longint;lie:array[0..13]of longint;xie:array[-30..30,1..2]of longint;
                    ^
0_0_20846616_24744.cpp:2:54: error: found ':' in nested-name-specifier, expected '::'
 a,s,d,ans:longint; z:array[0..13,0..13]of longint;lie:array[0..13]of longint;xie:array[-30..30,1..2]of longint;
                                                      ^
0_0_20846616_24744.cpp:2:51: error: 'lie' does not name a type
 a,s,d,ans:longint; z:array[0..13,0..13]of longint;lie:array[0..13]of longint;xie:array[-30..30,1..2]of longint;
                                                   ^
0_0_20846616_24744.cpp:2:81: error: found ':' in nested-name-specifier, expected '::'
 a,s,d,ans:longint; z:array[0..13,0..13]of longint;lie:array[0..13]of longint;xie:array[-30..30,1..2]of longint;
                                                                                 ^
0_0_20846616_24744.cpp:2:78: error: 'xie' does not name a type
 a,s,d,ans:longint; z:array[0..13,0..13]of longint;lie:array[0..13]of longint;xie:array[-30..30,1..2]of longint;
                                                                              ^
0_0_20846616_24744.cpp:3:1: error: 'function' does not name a type
 function q(w:longint):longint;
 ^
0_0_20846616_24744.cpp:4:1: error: 'var' does not name a type
 var
 ^
0_0_20846616_24744.cpp:6:1: error: 'begin' does not name a type
 begin
 ^
0_0_20846616_24744.cpp:7:36: error: 'exit' does not name a type
   if w=a+1 then begin  ans:=ans+1; exit; end
                                    ^
0_0_20846616_24744.cpp:7:42: error: 'end' does not name a type
   if w=a+1 then begin  ans:=ans+1; exit; end
                                          ^
0_0_20846616_24744.cpp:13:77: error: 'xie' does not name a type
                                                                             xie[w-r,1]:=1;
                                                                             ^
0_0_20846616_24744.cpp:14:77: error: 'xie' does not name a type
                                                                             xie[w+r,2]:=1;
                                                                             ^
0_0_20846616_24744.cpp:15:78: error: expected constructor, destructor, or type conversion before '(' token
                                                                             q(w+1);
                                                                              ^
0_0_20846616_24744.cpp:16:77: error: 'lie' does not name a type
                                                                             lie[r]:=0;
                                                                             ^
0_0_20846616_24744.cpp:17:77: error: 'xie' does not name a type
                                                                             xie[w-r,1]:=0;
                                                                             ^
0_0_20846616_24744.cpp:18:77: error: 'xie' does not name a type
                                                                             xie[w+r,2]:=0;
                                                                             ^
0_0_20846616_24744.cpp:19:75: error: 'end' does not name a type
                                                                           end;
                                                                           ^
0_0_20846616_24744.cpp:20:21: error: 'end' does not name a type
                     end;
                     ^
0_0_20846616_24744.cpp:21:18: error: 'end' does not name a type
                  end;
                  ^
0_0_20846616_24744.cpp:22:1: error: 'end' does not name a type
 end;
 ^
0_0_20846616_24744.cpp:23:1: error: 'begin' does not name a type
 begin
 ^
0_0_20846616_24744.cpp:25:2: error: expected constructor, destructor, or type conversion before '(' token
 q(1);
  ^
0_0_20846616_24744.cpp:26:6: error: expected constructor, destructor, or type conversion before '(' token
 write(ans);
      ^
0_0_20846616_24744.cpp:27: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-09-22 03:59:52, Gzip enabled