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_22626450_13444.cpp:8:1: error: expected initializer before 'int'
 int op,a,b;
 ^
0_0_22626450_13444.cpp: In function 'void UP(int)':
0_0_22626450_13444.cpp:13:2: error: 's' was not declared in this scope
 {s[o]=s[o<<1]+s[o<<1|1];}
  ^
0_0_22626450_13444.cpp: In function 'void B(int, int, int)':
0_0_22626450_13444.cpp:17:26: error: 's' was not declared in this scope
  if(l==r) {scanf("%lld",&s[o]); return;}
                          ^
0_0_22626450_13444.cpp: In function 'void U(int, int, int, int, int)':
0_0_22626450_13444.cpp:25:19: error: 's' was not declared in this scope
  if(ul<=l&&r<=ur&&s[o]==r-l+1) return;
                   ^
0_0_22626450_13444.cpp:26:11: error: 's' was not declared in this scope
  if(l==r){s[o]=sqrt(1.0*s[o]); return; }
           ^
0_0_22626450_13444.cpp: In function 'll Q(int, int, int, int, int)':
0_0_22626450_13444.cpp:34:26: error: 's' was not declared in this scope
  if(ql<=l&&r<=qr) return s[o];
                          ^
0_0_22626450_13444.cpp: In function 'int main()':
0_0_22626450_13444.cpp:44:10: error: 's' was not declared in this scope
   memset(s,0,sizeof(s));
          ^
0_0_22626450_13444.cpp:50:20: error: 'op' was not declared in this scope
    scanf("%d%d%d",&op,&a,&b);
                    ^
0_0_22626450_13444.cpp:50:24: error: 'a' was not declared in this scope
    scanf("%d%d%d",&op,&a,&b);
                        ^
0_0_22626450_13444.cpp:50:27: error: 'b' was not declared in this scope
    scanf("%d%d%d",&op,&a,&b);
                           ^


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-23 07:48:53, Gzip enabled