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_19720248_6215.cpp: In function 'void rd(T&)':
0_0_19720248_6215.cpp:29:41: error: 'boolsgn' was not declared in this scope
 inline void rd(T &res) {static char ch; boolsgn = false;while (ch = getchar(), ch <'0' || ch > '9') if (ch == '-') sgn =true;
                                         ^
0_0_19720248_6215.cpp:29:116: error: 'sgn' was not declared in this scope
 inline void rd(T &res) {static char ch; boolsgn = false;while (ch = getchar(), ch <'0' || ch > '9') if (ch == '-') sgn =true;
                                                                                                                    ^
0_0_19720248_6215.cpp:30:101: error: 'sgn' was not declared in this scope
           res = ch - 48;while(ch = getchar(), ch >= '0' && ch<= '9') res = res * 10 + ch - 48;res = sgn ? -res : res;}
                                                                                                     ^
0_0_19720248_6215.cpp: At global scope:
0_0_19720248_6215.cpp:49:41: error: 'LLx' has not been declared
 void update(int x1,int y1,int x2,int y2,LLx)
                                         ^
0_0_19720248_6215.cpp: In function 'void update(int, int, int, int, int)':
0_0_19720248_6215.cpp:51:14: error: 'x' was not declared in this scope
    add(x1,y1,x),add(x1,y2,x),add(x2,y1,x),add(x2,y2,x);
              ^
0_0_19720248_6215.cpp: At global scope:
0_0_19720248_6215.cpp:53:21: error: 'inty' has not been declared
 LL get(int id,int x,inty)
                     ^
0_0_19720248_6215.cpp: In function 'LL get(int, int, int)':
0_0_19720248_6215.cpp:57:19: error: 'y' was not declared in this scope
         for(int j=y;j;j-=lowbit(j))
                   ^
0_0_19720248_6215.cpp: At global scope:
0_0_19720248_6215.cpp:70:24: error: 'intx2' has not been declared
 LL query(int x1,int y1,intx2,int y2)
                        ^
0_0_19720248_6215.cpp: In function 'LL query(int, int, int, int)':
0_0_19720248_6215.cpp:72:15: error: 'x2' was not declared in this scope
    return get(x2,y2)^ get(x1,y2) ^ get(x2,y1) ^ get(x1,y1);
               ^
0_0_19720248_6215.cpp: In function 'int main()':
0_0_19720248_6215.cpp:105:65: error: 'elseputchar' was not declared in this scope
                     if(ans&Pow[i]) putchar('2'); elseputchar('1');
                                                                 ^


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-04 22:45:07, Gzip enabled