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_25314488_16710.cpp:4:10: error: too many decimal points in number
  d:array[0..3,0..100005] of longint;
          ^
0_0_25314488_16710.cpp:4:15: error: too many decimal points in number
  d:array[0..3,0..100005] of longint;
               ^
0_0_25314488_16710.cpp:5:18: error: too many decimal points in number
  vis1,vis2:array[0..100005] of longint;
                  ^
0_0_25314488_16710.cpp:1:1: error: 'program' does not name a type
 program hu;
 ^
0_0_25314488_16710.cpp:2:1: error: 'var' does not name a type
 var
 ^
0_0_25314488_16710.cpp:4:3: error: found ':' in nested-name-specifier, expected '::'
  d:array[0..3,0..100005] of longint;
   ^
0_0_25314488_16710.cpp:4:2: error: 'd' does not name a type
  d:array[0..3,0..100005] of longint;
  ^
0_0_25314488_16710.cpp:5:2: error: 'vis1' does not name a type
  vis1,vis2:array[0..100005] of longint;
  ^
0_0_25314488_16710.cpp:6:1: error: 'function' does not name a type
 function lowbit(x:longint):longint;
 ^
0_0_25314488_16710.cpp:7:1: error: 'begin' does not name a type
 begin
 ^
0_0_25314488_16710.cpp:9:1: error: 'end' does not name a type
 end;
 ^
0_0_25314488_16710.cpp:10:1: error: 'procedure' does not name a type
 procedure update(i,x,n:longint);
 ^
0_0_25314488_16710.cpp:11:1: error: 'begin' does not name a type
 begin
 ^
0_0_25314488_16710.cpp:15:5: error: 'x' does not name a type
     x:=x+lowbit(x);
     ^
0_0_25314488_16710.cpp:16:4: error: 'end' does not name a type
    end;
    ^
0_0_25314488_16710.cpp:17:1: error: 'end' does not name a type
 end;
 ^
0_0_25314488_16710.cpp:18:1: error: 'function' does not name a type
 function sum(x,i:longint):longint;
 ^
0_0_25314488_16710.cpp:19:1: error: 'begin' does not name a type
 begin
 ^
0_0_25314488_16710.cpp:21:2: error: expected unqualified-id before 'while'
  while (x>0) do
  ^
0_0_25314488_16710.cpp:24:5: error: 'x' does not name a type
     x:=x-lowbit(x);
     ^
0_0_25314488_16710.cpp:25:4: error: 'end' does not name a type
    end;
    ^
0_0_25314488_16710.cpp:26:6: error: expected constructor, destructor, or type conversion before '(' token
  exit(sum);
      ^
0_0_25314488_16710.cpp:27:1: error: 'end' does not name a type
 end;
 ^
0_0_25314488_16710.cpp:28:1: error: 'begin' does not name a type
 begin
 ^
0_0_25314488_16710.cpp:30:2: error: expected unqualified-id before 'for'
  for t:=1 to cas do
  ^
0_0_25314488_16710.cpp:33:13: error: expected constructor, destructor, or type conversion before '(' token
     fillchar(vis1,sizeof(vis1),0);
             ^
0_0_25314488_16710.cpp:34:13: error: expected constructor, destructor, or type conversion before '(' token
     fillchar(vis2,sizeof(vis2),0);
             ^
0_0_25314488_16710.cpp:35:11: error: expected constructor, destructor, or type conversion before '(' token
     readln(n,m,k,q);
           ^
0_0_25314488_16710.cpp:36:5: error: expected unqualified-id before 'for'
     for i:=1 to k do
     ^
0_0_25314488_16710.cpp:39:8: error: expected unqualified-id before 'if'
        if (vis1[x]=0) then
        ^
0_0_25314488_16710.cpp:42:11: error: 'vis1' does not name a type
           vis1[x]:=1;
           ^
0_0_25314488_16710.cpp:43:10: error: 'end' does not name a type
          end;
          ^
0_0_25314488_16710.cpp:44:8: error: expected unqualified-id before 'if'
        if (vis2[y]=0) then
        ^
0_0_25314488_16710.cpp:47:17: error: expected constructor, destructor, or type conversion before '(' token
           update(1,y,m);
                 ^
0_0_25314488_16710.cpp:48:10: error: 'end' does not name a type
          end;
          ^
0_0_25314488_16710.cpp:49:7: error: 'end' does not name a type
       end;
       ^
0_0_25314488_16710.cpp:50:5: error: expected unqualified-id before 'for'
     for i:=1 to q do
     ^
0_0_25314488_16710.cpp:53:8: error: 's1' does not name a type
        s1:=sum(x2,0)-sum(x1-1,0);
        ^
0_0_25314488_16710.cpp:54:8: error: 's2' does not name a type
        s2:=sum(y2,1)-sum(y1-1,1);
        ^
0_0_25314488_16710.cpp:55:8: error: expected unqualified-id before 'if'
        if (s1<x2-x1+1) and (s2<y2-y1+1) then writeln('No') else writeln('Yes');
        ^
0_0_25314488_16710.cpp:56:7: error: 'end' does not name a type
       end;
       ^
0_0_25314488_16710.cpp:57:3: error: 'end' does not name a type
   end;
   ^
0_0_25314488_16710.cpp:58: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-27 05:43:50, Gzip enabled