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_23329778_32611.cpp:20:1: error: 'll' does not name a type
 ll ans,t[55],f[2][2][N][N];
 ^
0_0_23329778_32611.cpp:21:1: error: 'll' does not name a type
 ll getans(int x,int y) {
 ^
0_0_23329778_32611.cpp: In function 'void add(int, int)':
0_0_23329778_32611.cpp:32:33: error: 'f' was not declared in this scope
         for (j=Y;j<=mx;j+=j&-j) f[one][two][i][j]^=ans;
                                 ^
0_0_23329778_32611.cpp:32:52: error: 'ans' was not declared in this scope
         for (j=Y;j<=mx;j+=j&-j) f[one][two][i][j]^=ans;
                                                    ^
0_0_23329778_32611.cpp: In function 'int main()':
0_0_23329778_32611.cpp:37:25: error: 't' was not declared in this scope
     for (i=0;i<=50;i++) t[i]=1ll<<i;
                         ^
0_0_23329778_32611.cpp:40:16: error: 'f' was not declared in this scope
         memset(f,0,sizeof(f));mx=n/2+1;
                ^
0_0_23329778_32611.cpp:45:17: error: 'ans' was not declared in this scope
                 ans=getans(x1,y1)^getans(x2,y2)^getans(x1,y2)^getans(x2,y1);
                 ^
0_0_23329778_32611.cpp:45:33: error: 'getans' was not declared in this scope
                 ans=getans(x1,y1)^getans(x2,y2)^getans(x1,y2)^getans(x2,y1);
                                 ^
0_0_23329778_32611.cpp:47:25: error: 't' was not declared in this scope
                 if (ans&t[j]) printf("2 ");
                         ^
0_0_23329778_32611.cpp:51:33: error: 'ans' was not declared in this scope
                 scanf("%d", &k);ans=0;
                                 ^
0_0_23329778_32611.cpp:54:35: error: 't' was not declared in this scope
                     if (y&1) ans^=t[x];
                                   ^


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